Altera_Forum
Honored Contributor
16 years agoVHDL question
Hey, I'm using an MCP4922 DAC chip and I'm programming it using VHDL.
The chip has 16 bits, 4 which I want to be constant and the other 12 will be keep changing. My idea is to make 2 vectors (4 bits and 12 bits) then combine them into one 16 bit vector and send that to my DAC. However, I'm not quite sure what my code should look like, can anyone help me with that? Note: the constant bits are always 12 though 15.