programming the FPGA

Discuss game and other programming topics not specifically covered in another forum

Moderator: Programming Moderators

marek
Posts: 13
Joined: Sat Jan 13, 2018 12:13 pm

programming the FPGA

Postby marek » Sun Jan 14, 2018 8:49 am

Is there a way to look into the code that runs on the FPGA and is there a Linux based FPGA SDK that i could use?

Northernbob
Posts: 157
Joined: Tue May 30, 2017 9:50 am

Re: programming the FPGA

Postby Northernbob » Sun Jan 14, 2018 1:54 pm

you woould need an engram(memory) extractor to look inside of victors head....

marek
Posts: 13
Joined: Sat Jan 13, 2018 12:13 pm

Re: programming the FPGA

Postby marek » Sun Jan 14, 2018 10:08 pm

Too difficult

marek
Posts: 13
Joined: Sat Jan 13, 2018 12:13 pm

Re: programming the FPGA

Postby marek » Sun Jan 14, 2018 10:08 pm

But it seems it runs on top of some DOS?

dave18
Posts: 80
Joined: Tue May 30, 2017 1:06 am
Location: Bristol, UK

Re: programming the FPGA

Postby dave18 » Sun Jan 14, 2018 11:17 pm

The FPGA is logic level and is used to synthesise integrated circuits (z80 etc). The code such as DOS or Spectrum ROM is stored as Z80 code which then runs on the FPGA. Get yourself a cheap FPGA get used to the different approach to programming that is required.

User avatar
mcleod_ideafix
Posts: 70
Joined: Mon May 29, 2017 9:38 pm
Location: Spain
Contact:

Re: programming the FPGA

Postby mcleod_ideafix » Sun Mar 04, 2018 12:54 am

marek wrote:
Sun Jan 14, 2018 8:49 am
Is there a way to look into the code that runs on the FPGA and is there a Linux based FPGA SDK that i could use?
The "code" is not actually code (it's not machine code, or assembler, although you can use a regular high level programming language as one of the steps required to generate this "code"), but the description of a circuit, in the form of LUT tables, register values, ROM contents and cross bar switch configurations, that instruct the FPGA to become that circuit. Its binary form is called a bitstream and it's a propietary format of Xilinx. It is stored in the tiny SPI Flash chip on board. You can take a look at it by examining the TBBLUE.TBU file. The actual bitstream begins at offset 200h from the beginning of TBBLUE.TBU.

There is a complete IDE for Linux and Windows. It's the ISE WebPack (last version is 14.7) from Xilinx.
http://www.zxuno.com
ZX-Uno · FPGA ZX Spectrum clone.

marek
Posts: 13
Joined: Sat Jan 13, 2018 12:13 pm

Re: programming the FPGA

Postby marek » Wed Mar 14, 2018 6:58 pm

dave18 wrote:
Sun Jan 14, 2018 11:17 pm
The FPGA is logic level and is used to synthesise integrated circuits (z80 etc). The code such as DOS or Spectrum ROM is stored as Z80 code which then runs on the FPGA. Get yourself a cheap FPGA get used to the different approach to programming that is required.
get yourself a specnext :)

Northernbob
Posts: 157
Joined: Tue May 30, 2017 9:50 am

Re: programming the FPGA

Postby Northernbob » Sun Mar 18, 2018 6:31 pm

been telling him that for months! :P


Who is online

Users browsing this forum: No registered users and 2 guests