Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

embedding compiled code into Verilog RTL code of EEPROM

Status
Not open for further replies.

sujithchakra

Junior Member level 1
Joined
Apr 30, 2007
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,422
I have to put some machine code into the existing EEPROM core.Thats one chip.

The second chip consists of the a CPU,GPIO,I2C.I need to synthesis this one and simulate it along with the EEPROM core so that user gives some control signals to cpu thru GPIO then cpu fetches the machine code from EEPROM thru I2C,executes and dispalys the result on to the LED's interfaced thru GPIO.

How do I embed the machine code to be executed by microcontroller into the
Verilog RTL code of EEPROM?

If my arrangement is wrong could any please correct me?

Can anyone please explain the steps involved in the whole process?

Thank you.
 

EEPROM !!
may be u can declare a memory array n put all ur code in that!!
but it is just a thought !!

correct me if i am wrong.
 

Hi ,

when you code EPROM behavioral code you can use a memory array .


regards
yln
 

I got the answer...we can do it using $readmemh or $readmemb
see the link below...
si2.ee.nctu.edu.tw/Course/ICLab/2002/ftp/midterm_note.pdf
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top