you declared un as an integer but assigned a bit to it. I think you should remove the single quotation marks around the 0. --- Quote Start --- if (un <= 9) then -- check if units is less than or equal to 9 --- Quote End --- I think this should...
SignalSlv2was declared using an initial value of all 0’s. Instead of specifying the exact value for each bit, we used(other => '0')in place of the initial value. This is known as anaggregateassignment. The important part is that it will set all bits in the vector to whatever you ...