Forum Discussion
Altera_Forum
Honored Contributor
12 years agoYou can find the project description below:
A) Description of the bus, ROM and LED blocks This will address the block outside the CPU, through a bus. Every block that is connected to the bus has a unique(independent) address. In this case:  ROM: addresses 0-15 (16 addresses)  LED: addresses 10 (1 address) This is what is called an (Address map). B) Description of the ROM program In the memory (ROM) there exist a program with machine codes or easy to read assembler codes signal rom : memory_t := memory_t'( X"0000", -- 0 NOP ”do not do anything, No Operation” nop X"100A", -- 1 LOAD_R0# A ”Load CPU_REG_0 with A (hex)” R0 = 10; X"2010", -- 2 STORE_R0# 10 ”Store CPU_REG_0 to adress 10 (hex)” LEDS = R0 X"1001", -- 3 LOAD_R0# 1 ”Load CPU_REG_0 with 1 (hex)” R0 = 01; X"2010", -- 4 STORE_R0# 10 ”Store CPU_REG_0 to adress 10 (hex)” LEDS = R0 This is just the main description, hope it helps