8bit LFSR / GAL16V8 WinCUPL (compile only)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CUPL(WM) 5.0a Serial# 60008009 | |
| Device g16v8ms Library DLIB-h-40-11 | |
| Created Mon Oct 12 02:17:21 2020 | |
| Name LFSR8V8 | |
| Partno PRACTICE | |
| Revision 01 | |
| Date 20/10/11 | |
| Designer Katunori Takesita | |
| Company | |
| Assembly | |
| Location | |
| *QP20 | |
| *QF2194 | |
| *G0 | |
| *F0 | |
| *L00000 10111110111111111111111111111111 | |
| *L00032 01101111111111111111111111111111 | |
| *L00256 10111111111011111111111111111111 | |
| *L00288 01111110111111111111111111111111 | |
| *L00512 10111111111111101111111111111111 | |
| *L00544 01111111111011111111111111111111 | |
| *L00768 10101111111111111101111111111111 | |
| *L00800 10011111111111111110111111111111 | |
| *L00832 01111111111111101111111111111111 | |
| *L01024 10101111111111111111110111111111 | |
| *L01056 10011111111111111111111011111111 | |
| *L01088 01111111111111111110111111111111 | |
| *L01280 10101111111111111111111111011111 | |
| *L01312 10011111111111111111111111101111 | |
| *L01344 01111111111111111111111011111111 | |
| *L01536 10111111111111111111111111111110 | |
| *L01568 01111111111111111111111111101111 | |
| *L01792 10101111111111111111111111111111 | |
| *L01824 01111111111111111111111111111110 | |
| *L02048 11111111010100000101001001000001 | |
| *L02080 01000011010101000100100101000011 | |
| *L02112 01000101000000001111111111111111 | |
| *L02144 11111111111111111111111111111111 | |
| *L02176 111111111111111101 | |
| *C539B | |
| *08BD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name LFSR8V8; | |
| PartNo PRACTICE; | |
| Revision 01; | |
| Date 20/10/11; | |
| Designer Katunori Takesita; | |
| Company ; | |
| Assembly ; | |
| Location ; | |
| Device G16V8MS; | |
| /* INPUTS */ | |
| Pin 1 = CLK; | |
| Pin 2 = !CTEN; | |
| pin 3 = !RESET; | |
| pin 11 = !OE; | |
| /* OUTPUTS */ | |
| Pin [12..19] = [Q0..7]; | |
| /* [Q0..7].ar = RESET; */ | |
| /* [Q0..7].sp = 'b'0; */ | |
| /* [Q0..7].oe = OE; */ | |
| /** Logic Equations **/ | |
| /* x^8+x^6+x^5+x^4+1 */ | |
| /* Q0.d = CTEN & (Q7 $ Q5 $ Q4 $ Q3) # !CTEN & Q0; */ | |
| Q0.d = CTEN & !Q7 # !CTEN & !Q0; | |
| Q1.d = CTEN & !Q0 # !CTEN & !Q1; | |
| Q2.d = CTEN & (!Q1 $ !Q7) # !CTEN & !Q2; | |
| Q3.d = CTEN & (!Q2 $ !Q7) # !CTEN & !Q3; | |
| Q4.d = CTEN & (!Q3 $ !Q7) # !CTEN & !Q4; | |
| Q5.d = CTEN & !Q4 # !CTEN & !Q5; | |
| Q6.d = CTEN & !Q5 # !CTEN & !Q6; | |
| Q7.d = CTEN & !Q6 # !CTEN & !Q7; | |
| /* END */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %SIGNAL | |
| PIN 1 = CLK | |
| PIN 2 = !CTEN | |
| PIN 11 = !OE | |
| PIN 12 = Q0 | |
| PIN 13 = Q1 | |
| PIN 14 = Q2 | |
| PIN 15 = Q3 | |
| PIN 16 = Q4 | |
| PIN 17 = Q5 | |
| PIN 18 = Q6 | |
| PIN 19 = Q7 | |
| PIN 3 = !RESET | |
| %END | |
| %FIELD | |
| %END | |
| %EQUATION | |
| Q0.d => | |
| !CTEN & !Q7 | |
| # CTEN & !Q0 | |
| Q1.d => | |
| !CTEN & !Q0 | |
| # CTEN & !Q1 | |
| Q2.d => | |
| !CTEN & Q1 & !Q7 | |
| # !CTEN & !Q1 & Q7 | |
| # CTEN & !Q2 | |
| Q3.d => | |
| !CTEN & Q2 & !Q7 | |
| # !CTEN & !Q2 & Q7 | |
| # CTEN & !Q3 | |
| Q4.d => | |
| !CTEN & Q3 & !Q7 | |
| # !CTEN & !Q3 & Q7 | |
| # CTEN & !Q4 | |
| Q5.d => | |
| !CTEN & !Q4 | |
| # CTEN & !Q5 | |
| Q6.d => | |
| !CTEN & !Q5 | |
| # CTEN & !Q6 | |
| Q7.d => | |
| !CTEN & !Q6 | |
| # CTEN & !Q7 | |
| %END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment