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.