Koheron / koheron-sdk

SDK for FPGA / Linux Instruments
https://www.koheron.com/software-development-kit/
Other
101 stars 42 forks source link

add_bram_recorder #479

Closed grahamnaylorccfe closed 6 years ago

grahamnaylorccfe commented 6 years ago

Hi There, I am writing the block_design.tcl to instantiate some brams to archive data for recovery by the ARM (as used in the phase noise design). When I use the add_bram_recorder function to create a block as defined in the config.yml file of size 64k (bytes), I would hope to get 16k 32 bit words in the BRAM that is instantiated. However when I look in the block diagram to check if it is sized correctly I only see 8k in the port A options tab of the blk_memgen** block. Indeed when I look in the adc-dac-bram design, which instantiate brams named adc and dac each allocated 256k in config.yml, only 8192 is reported in the port A options of the block. When adjusting manually, I seem to have to set to standalone Bram enter 16384 in port A options and then set back to Bram controller. Do I need to do that in the TCL, or am I misunderstanding something? cheers Graham

grahamnaylorccfe commented 6 years ago

OK, looking further in to this, it is not an issue. After validating the block design the BRAMs come up with the correct memory range. All good! G