IceZero
Newbie level 4
Hi,
In a controller I am designing for a Time-to-Digital convert chip, it asks that before being able to read time samples back from the chip, a bunch of registers are loaded with specific values.
I wrote the read/write controller for the chip and now I am writing a FSM to go into a Configure state. It will remain in this state until it has completely written data to all of the 12 registers on the chip.
My concern is not so much the FSM machine or how to do a write, but rather where can I store the values of these addresses. I was thinking something similar to an array of registers, which can be updated at any time, and it will loop through them sequentially and perform a write operation with the value.
Does something like this exist in FPGA and verilog? I was looking at BRAM on the Spartan 6 but I'm not entirely sure if that what I would need.
Cheers,
Andrei
In a controller I am designing for a Time-to-Digital convert chip, it asks that before being able to read time samples back from the chip, a bunch of registers are loaded with specific values.
I wrote the read/write controller for the chip and now I am writing a FSM to go into a Configure state. It will remain in this state until it has completely written data to all of the 12 registers on the chip.
My concern is not so much the FSM machine or how to do a write, but rather where can I store the values of these addresses. I was thinking something similar to an array of registers, which can be updated at any time, and it will loop through them sequentially and perform a write operation with the value.
Does something like this exist in FPGA and verilog? I was looking at BRAM on the Spartan 6 but I'm not entirely sure if that what I would need.
Cheers,
Andrei