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.

oc8051 simulation on modelsim

Status
Not open for further replies.

ikki_fenix

Newbie level 2
Joined
Dec 14, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
Hello,

I'm trying to simulate the oc8051 with modelsim. I use the memory models that they are in the project. There are another post but i don't see the same problem.
The modelsim project has the next tree:


oc8051_tb
+--oc8051_xrom1
+--oc8051_xram1
+--oc8051_uart_test1
+--oc8051_top1
+------oc8051_sfr1
+------oc8051_rom1
+------oc8051_ram_top1
+------oc8051_memory_interface
+------oc8051_indi_addr1
+------oc8051_decoder1
+------oc8051_gy_select1
+------oc8051_comp1
+------oc8051_alu_src_sel1
+------oc8051_alu1

When i try to simulate, the modelsim shows the next error message:

# *
# * External rom interface: Pipelined interface
# *
#
# Program running from internal rom !
#
# progran execution from external rom
# time 2666 faulire: invalid write to ACC (oc8051_acc)
# ** Note: $finish : /home/smorlans/Escritorio/pruebas/modelsim/oc8051_acc.v(140)
# Time: 2688 ns Iteration: 0 Instance: /oc8051_tb/oc8051_top_1/oc8051_sfr1/oc8051_acc1


In the oc8051_tb reads the next configuration file:

$readmemb("./in/oc8051_eai.in", ea) (set up ea = 1)

and the oc8051_rom contains:

$readmemh("./in/oc8051_rom.in", buff);


Could anyone help me??? Thanks for your replay.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top