Using FPGA and CPLD (FPGA and PLM)

ZXNet echo conference «hardware.zx»

From Andreas Kaiser To All 2 May 2006

Hello fan fan> Where does this module live? fan> Yes, it’s better to immediately download the file (manually... every bit... not at all fan> pulls...). Under Intel hex (.hex) there are cheesecakes, which means under .bin fan> must be . fan> No, this is not a module. This is one way of describing it. It describes the condition outputs of the circuit depending on the state of the inputs. Those. if we allow 0 at the input, then the output is 1, etc.

From Andreas Kaiser To All 2 May 2006

Hello fan fan> I see. It’s not easy to type every bit manually. Well, you already cited an article from Alter’s website, where you an example where you don’t need to type manually. How to do this in circuit input - I without concepts. Another reason to learn HDL languages ​​:)

From Alexander Zan To All 2 May 2006

Hello icebear ice> No, this is not a module. This is one way of describing it. It describes ice> state of the circuit outputs depending on the state of the inputs. Those. if ice> let's say the input is 0, then the output is 1, etc. I see. It’s definitely not advisable to manually fill in every bit. 2 ALL Can anyone suggest a binary file editor that could display its contents in both hex and bin? Finally, there is at least something in binary form view ???

From Chunin Roman To All 2 May 2006

Hello fan fan> I see. It’s not easy to type every bit manually. fan> fan> 2 ALL fan> Someone can suggest a binary file editor that could fan> display its contents in both hex and bin? Finally there is at least something fan> to view ??? in binary form Specify what you want? And any HexEditor will allow you to view and edit the binary. The second point is why the hell do you need Intel HEX and a binary view at the same time? FULL The bin2hex and hex2bin utilities are lying around.

From ASDT To All 2 May 2006

Hello Mick Maybe someone can enlighten me... So the process is like this: 1) take please 2) download quartus 3) solder on LPT JTAG 4) screw it to the corduroy, probably the legs should be set to 0/1? 5)? how to check that everything has grown together?

From Alexander Zan To All 2 May 2006

Hello ASDT ASD> That is. additionally set (such as resolution ASD> programming) is not required? No, they are already marked. Trying to use them for another purpose will automatically lead to the inability to program via JTAG. How else? I have no idea how to program this. By the way, someone can pull out a link to the CPLD programmer which has all the pins busy with "business"? Somehow I have never heard of programmers like them are they even called? ASD> "Allows viewing and editing only in HEX" Well, there are all kinds ASD> commanders ... WHICH ????????? ASD> You can edit either way, but so that "Intel HEX" and ASD> equivalent text ... ASD> I haven’t seen this. Intel HEX CHRV made it up, I didn't say anything about that. Here is an example of what is needed - ┌─- CODE ─── Chip "D" D18 155PE3 -+---------+----------+ ADDRESS | DATA | DX HX AAAAAA|HX DDDDDDDD| 43210| 76543210| -+---------+----------+ | SSSSSSSS| | YYYYYYYY| ADD | SSSSSSSS| D4411| 11111111| T1143| 87654321| -+---------+----------+---------- 0 00 00000|B4 10110100| ZX Screen 1 01 00001|B5 10110101| (4000h) 2 02 00010|B6 10110110| 3 03 00011|FF 11111111|___________4 04 00100|F4 11110100| Screen 5 05 00101|F5 11110101| CP/M 6 06 00110|F6 11110110| 7 07 00111|FF 11111111|___________ 8 08 01000|34 00110100| Screen 9 09 01001|35 00110101|DiskMonitor 10 0A 01010|36 00110110| (2000h)? 11 0B 01011|FF 11111111|___________ 12 0C 01100|74 01110100| 13 0D 01101|75 01110101|Not used 14 0E 01110|76 01110110| 15 0F 01111|FF 11111111| -+---------+----------+---------- 16 10 10000|8B 10001011| ZX Screen 17 11 10001|9B 10011011| (4000h) 18 12 10010|AB 10101011| 19 13 10011|FF 11111111|___________ 20 14 10100|CB 11001011| Screen 21 15 10101|DB 11011011| CP/M 22 16 10110|EB 11101011| 23 17 10111|FF 11111111|___________ 24 18 11000|0B 00001011| Screen 25 19 11001|1B 00011011|DiskMonitor 26 1A 11010|2B 00101011| (2000h)? 27 1B 11011|FF 11111111|___________ 28 1C 11100|4B 01001011| 29 1D 11101|5B 01011011|Not used 30 1E 11110|6B 01101011| 31 1F 11111|FF 11111111| ===========+===========+----------- └── CODE ───

From Chunin Roman To All 2 May 2006

Hello fan fan> I don’t remember exactly, but it seems that when you start the firmware it is pre-installed fan> will check what type of programmer is hanging and what is plugged into it (like fan> so). The programmer type must be selected, but the PLM type is determined automatically.

From Alexander Zan To All 2 May 2006

Hello, CHRV CHR> And so any HexEditor is a binary for you to view and edit CHR> will allow. You can view and edit only in HEX (numerical alphabetic eroglyphs). CHR> The second point why the hell is it both Intel HEX and a binary view for you CHR> is needed. Keep your eyes open and finish off what you need in binary form (zeros and ones). I I finally don’t see (or don’t see) any such editor on the horizon . CHR> There are FULL bin2hex and hex2bin utilities lying around. And how will this help me? ASD> 4) screw it to the corduroy, probably the legs need to be set to 0/1? ASD> 5)? how to check that everything has grown together? The legs will straighten out on their own, i.e. JTAG legs do not need to be touched/operated when creating a project. When stitching, etc. everything will check itself. (although jokes are possible) ice> Well, you already cited an article from Alter’s site, where just ice> is an example where you don’t need to type it in manually. At that time I was terribly buggy and wanted it under .BIN. Although even now I want you to Don't bother with conversion.

From Alexander Zan To All 2 May 2006

Hello ASDT ASD> That is. leave them hanging. Uh-huh. They will be labeled with the names of the JTAG pins. ASD> You can see two areas on the screen: ASD> Hex,bin ... and the second - letters corresponding to these bytes. ASD> And so that both hex/bin and comments on the side, there is definitely no such thing Yes, comments are not as important as the simultaneous presence of viewing/editing in hex/bin (column). What programs can do this??????

From Alexander Zan To All 2 May 2006

Hello ASDT ASD> But after connecting - how to check (well, consider the type plm, or ASD> what test)? I don’t remember exactly, but it seems that when starting the firmware it will first check what type of programmer is hanging and what is plugged into it (sort of).

From Andreas Kaiser To All 2 May 2006

Hello ASDT ASD> "The legs will straighten out on their own" That is. additionally expose (type ASD> resolution ASD> programming) is not required? ASD> But after connecting - how to check (well, consider the type plm, or ASD> what test)? Quartus will do everything himself and show you.

From ASDT To All 2 May 2006

Hello Mick “An attempt to use them differently” Yes, I’m talking about other conclusions please... That is leave them hanging. “Here is an example of what is needed -” You can see two areas on the screen: Hex,bin ... and the second - letters corresponding to these bytes. And so that both hex/bin and comments on the side, there is definitely no such thing :)

From ASDT To All 2 May 2006

Hello Mick “The legs will straighten out on their own” I.e. additionally set (such as resolution programming) is not required? But after connecting - how to check (well, consider the type of PLM, or what kind of test)? "You can only view and edit in HEX" Well, there are all sorts of commanders You can edit either way, but so that “Intel HEX” and the equivalent text I haven't seen anything like this.

From ASDT To All 3 May 2006

Hello Mick "simultaneous presence of viewing/editing in hex/bin " I can say for DOS, it seems Hview?, but there is a byte there and you can switch hex/bin... maybe there is an analogue for Windows? By the quarter. Pump it out and that's it? Or do you have to register there and wait for something...

From Alexander Zan To All 3 May 2006

Hello ASDT Download only from the P2P CD version, everything is usually already there ;)

From Alexander Zan To All 3 May 2006

Hello hero her> 5 Minutes in Windows Notepad An interesting example, but can output values be specified in binary form? However, it’s better for anyone to type the binary in an editor (not yet found %)), and slip in the finished file. Example code so you can slip a binary file by any chance? (without converting to anything else)

From Dmitry Demyanenko To All 3 May 2006

Hello, ASDT 5 Minutes in Windows Notebook module ROM(ADR,Q); input [4:0]ADR, output [7:0]Q; reg [7:0]Q; always @ * case (ADR) 5'b00000 : Q=B4; //10110100| ZX Screen 5'b00001 : Q=B5; //10110101| (4000h) 5'b00010 : Q=B6; //10110110| 5'b00011 : Q=FF; //11111111|___________ 5'b00100 : Q=F4; //11110100| Screen 5'b00101 : Q=F5; //11110101| CP/M 5'b00110 : Q=F6; //11110110| 5'b00111 : Q=FF; //11111111|___________ 5'b01000 : Q=34; //00110100| Screen 5'b01001 : Q=35; //00110101|DiskMonitor 5'b01010 : Q=36; //00110110| (2000h)? 5'b01011 : Q=FF; //11111111|___________ 5'b01100 : Q=74; //01110100| 5'b01101 : Q=75; //01110101|He is used 5'b01110 : Q=76; //01110110| 5'b01111 : Q=FF; //11111111| //-----------+-----------+----------- 5'b10000 : Q=8B; //10001011| ZX Screen 5'b10001 : Q=9B; //10011011| (4000h) 5'b10010 : Q=AB; //10101011| 5'b10011 : Q=FF; //11111111|___________ 5'b10100 : Q=CB; //11001011| Screen 5'b10101 : Q=DB; //11011011| CP/M 5'b10110 : Q=EB; //11101011| 5'b10111 : Q=FF; //11111111|___________ 5'b11000 : Q=0B; //00001011| Screen 5'b11001 : Q=1B; //00011011|DiskMonitor 5'b11010 : Q=2B; //00101011| (2000h)? 5'b11011 : Q=FF; //11111111|___________ 5'b11100 : Q=4B; //01001011| 5'b11101 : Q=5B; //01011011|He is used 5'b11110 : Q=6B; //01101011| 5'b11111 : Q=FF; //11111111| //===========+===========+----------- endcase endmodule

From Dmitry Demyanenko To All 3 May 2006

Hello fan fan> An interesting example, and the output values can be specified in binary fan> form ? Yes, in any case you can fan> However, it’s better to type the binary in an editor (not yet found fan> %) ), and slip in the finished file . Example code so you can fan> Do you happen to slip a binary file? (without converting to what fan> or other) In ActiveHDL there is a master, you tell it bin or hex and it comes up with approximately the following code sculpts. I even made fun of the 64Kb ROM firmware and put it into Verilog in a funny way.