Hello
I'm wondering how configurations registers are usually implemented. By this I mean I have in my design value I want to be run-time configurable. So each of this value is read (and read only), and on the other side, there is an address / data / strobe bus. So that a controller can read/write a register given it's adress.
I'm looking for a space efficent way. I don't think I can use memory blocks for this since they are all read in // ...
What I've come up with so far is
type reg_space is array (integer range ) of std_logic_vector(31 downto 0); signal registers : reg_space(63 downto 0); signal address : std_logic_vector(5 downto 0);
Then to write a value in a process :
registers(address)