Skip to content

Commit 733b1c4

Browse files
committed
added PLD files for 16V8
1 parent c7dfd87 commit 733b1c4

File tree

2 files changed

+120
-0
lines changed

2 files changed

+120
-0
lines changed

EDA/VIA Plus/PLD/VIAP.PLD

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
Name VIAP ;
2+
PartNo VIAP ;
3+
Date 10/03/2025 ;
4+
Revision 02 ;
5+
Designer demik ;
6+
Company Lostwave ;
7+
Assembly None ;
8+
Location None ;
9+
Device g16v8a ;
10+
11+
/* *************** INPUT PINS *********************/
12+
PIN 1 = SV0 ; /* Input (Sound Volume bit0) */
13+
PIN 2 = SV1 ; /* Input (Sound Volume bit1) */
14+
PIN 3 = SV2 ; /* Input (Sound Volume bit2) */
15+
PIN 4 = OVL ; /* Input (ROM Overlay) */
16+
PIN 5 = VS16 ; /* Input (Screen VSYNC / 16) */
17+
PIN 6 = ONESEC ; /* 1Hz interrupt (from RTC) */
18+
PIN 7 = RESET ; /* Reset signal */
19+
20+
/* *************** OUTPUT PINS *********************/
21+
PIN 12 = DP ; /* Combinatorial output */
22+
PIN 13 = G ; /* Combinatorial output */
23+
PIN 14 = F ; /* Combinatorial output */
24+
PIN 15 = E ; /* Combinatorial output */
25+
PIN 16 = D ; /* Combinatorial output */
26+
PIN 17 = C ; /* Combinatorial output */
27+
PIN 18 = B ; /* Combinatorial output */
28+
PIN 19 = A ; /* Combinatorial output */
29+
30+
/* ************* OUTPUT EQUATIONS *******************/
31+
!DP = ONESEC & !RESET
32+
# ONESEC & !VS16 & RESET
33+
# !ONESEC & VS16 & RESET;
34+
35+
!A = SV1 & RESET & !OVL
36+
# SV0 & SV2 & RESET & !OVL
37+
# !SV0 & !SV2 & RESET & !OVL;
38+
39+
!B = !SV2 & RESET & !OVL
40+
# SV0 & SV1 & RESET & !OVL
41+
# !SV0 & !SV1 & RESET & !OVL;
42+
43+
!C = SV0 & RESET & !OVL
44+
# !SV1 & RESET & !OVL
45+
# SV2 & RESET & !OVL
46+
# RESET & OVL;
47+
48+
!D = !SV0 & SV1 & RESET & !OVL
49+
# !SV0 & !SV2 & RESET & !OVL
50+
# SV1 & !SV2 & RESET & !OVL
51+
# SV0 & !SV1 & SV2 & RESET & !OVL
52+
# RESET & OVL;
53+
54+
!E = !SV0 & SV1 & RESET & !OVL
55+
# !SV0 & !SV2 & RESET & !OVL
56+
# !RESET
57+
# RESET & OVL;
58+
59+
!F = !SV0 & !SV1 & RESET & !OVL
60+
# !SV0 & SV2 & RESET & !OVL
61+
# !SV1 & SV2 & RESET & !OVL;
62+
63+
!G = !SV1 & SV2 & RESET & !OVL
64+
# SV1 & !SV2 & RESET & !OVL
65+
# !SV0 & SV2 & RESET & !OVL
66+
# !RESET
67+
# RESET & OVL;

EDA/VIA Plus/PLD/VIAP.jed

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+

2+
CUPL(WM) 5.0a Serial# 60008009
3+
Device g16v8as Library DLIB-h-40-2
4+
Created Mon Mar 10 23:43:11 2025
5+
Name VIAP
6+
Partno VIAP
7+
Revision 02
8+
Date 10/03/2025
9+
Designer demik
10+
Company Lostwave
11+
Assembly None
12+
Location None
13+
*QP20
14+
*QF2194
15+
*G0
16+
*F0
17+
*L00000 01111111101111111111011111111111
18+
*L00032 11010111101111111111011111111111
19+
*L00064 11101011101111111111011111111111
20+
*L00256 11111011101111111111011111111111
21+
*L00288 01011111101111111111011111111111
22+
*L00320 10101111101111111111011111111111
23+
*L00512 11011111101111111111011111111111
24+
*L00544 10111111101111111111011111111111
25+
*L00576 11110111101111111111011111111111
26+
*L00608 11111111011111111111011111111111
27+
*L00768 01101111101111111111011111111111
28+
*L00800 11101011101111111111011111111111
29+
*L00832 01111011101111111111011111111111
30+
*L00864 10010111101111111111011111111111
31+
*L00896 11111111011111111111011111111111
32+
*L01024 01101111101111111111011111111111
33+
*L01056 11101011101111111111011111111111
34+
*L01088 11111111111111111111101111111111
35+
*L01120 11111111011111111111011111111111
36+
*L01280 10101111101111111111011111111111
37+
*L01312 11100111101111111111011111111111
38+
*L01344 10110111101111111111011111111111
39+
*L01536 10110111101111111111011111111111
40+
*L01568 01111011101111111111011111111111
41+
*L01600 11100111101111111111011111111111
42+
*L01632 11111111111111111111101111111111
43+
*L01664 11111111011111111111011111111111
44+
*L01792 11111111111111110111101111111111
45+
*L01824 11111111111110110111011111111111
46+
*L01856 11111111111101111011011111111111
47+
*L02048 00000000010101100100100101000001
48+
*L02080 01010000001000000000000000000000
49+
*L02112 00000000000000001111111111111111
50+
*L02144 11111111111111111111111111111111
51+
*L02176 111111111111111110
52+
*C7D01
53+
*5F40

0 commit comments

Comments
 (0)