goodpranoy
Junior Member level 3

hi everyone,
i am presently doing a project "design of a simple functional microcontroller on FPGA".
i have done this with just 2 registers.
to keep the design simple, instead of an I/O port i have designed separate ports for both input and output.
i also used a ROM instead of a RAM.
now i want to convert my ROM into a RAM to which we can write instructions from outside.
how can i do this transition from ROM to RAM?
is the separate input port enough to give both the data and address to the RAM? if so how can i multiplex the signals?
i am presently doing a project "design of a simple functional microcontroller on FPGA".
i have done this with just 2 registers.
to keep the design simple, instead of an I/O port i have designed separate ports for both input and output.
i also used a ROM instead of a RAM.
now i want to convert my ROM into a RAM to which we can write instructions from outside.
how can i do this transition from ROM to RAM?
is the separate input port enough to give both the data and address to the RAM? if so how can i multiplex the signals?