Download the keilC51 firmware code and build to get a hex file. This hex will be needed later.
Create a project named 8051_test2.
Unzip 8051 core’s vhdl directory into vhdl directory under 8051_test2. Rename mc8051_core_.vhd to mc8051_core.vhd, i.e, remove the underscore.
Add files under vhdl directory. Don’t add *_cfg.vhd and mc8051_top_struct.vhd and mc8051_top_vhd.
Set 8051_test2.bdf as top level.
Mc8051_rom: Use lpm_rom, 8 bit, 4K words. The initialization file should be the KeilC51 generated HEX file.
Mc8051_ram: use lpm_ram_dq, 8 bit, set to 128 words.
Mc8051_ramx: use lpm_ram_dq, 8 bits, set to 4K words.
Connect all the blocks:
Use NET name:
Leave a Reply
You must be logged in to post a comment.