I am using VIO to insert inputs (parameters) to my design.
One of the inputs is named "Mode", and currently it receives a number (0-7) that later another logic in my design translates this number to a enum struct in systemVerilog that i have.
For example - the number 3 in the VIO input translates into MODE3 in my design.
My question - is it possible to have the vio input "Mode" be some sort of drop menu that contains 8 enums (e.x MODE1,MODE2,MODE3 etc), each corresponding to a number between (0-7)?
Oh I wish that one could,
the number of times I want to look at say a state machine , and see what state its in,
unless I hard code the states to numbers, which is not efficient,
or put in a hardware decode block in the fpga
which is not efficient