Greetings, let you know that I have found an example of an asynchronous fifo in verilog and I have implemented it to my vhdl project in Vivado 20192.2 but I am having problems trying to simulate it in Modelsim SE 10.5. I am getting the following error from the image.
Could someone help me with this problem please, I leave part of the fifo code and how I am trying to implement it in my project.
el mensaje de error es claro: está intentando en su código asignar datos escalares a datos vectoriales. Más precisamente tienes:
1) salida reg [DATA_WIDTH - 1 : 0] rd_data, (que es vector)
y señal
2) rd_data_slv_f1 de señal: std_logic; (que es scalasr)
y luego en línea: rd_data => rd_data_slv_f1,
se le asigna esta señal escalar para registrar cuál es vector.
gracias por la ayuda, acabo de resolver el error modificando la siguiente línea
[CÓDIGO]rd_data_slv_f1 de señal : std_logic_vector(0 hasta 0); [/CÓDIGO]
the error message is clear: you are trying in your code to assign scalar data to vector data. More precisely you have:
1) output reg [DATA_WIDTH - 1 : 0] rd_data, (which is...
Greetings, let you know that I have found an example of an asynchronous fifo in verilog and I have implemented it to my vhdl project in Vivado 20192.2 but I am having problems trying to simulate it in Modelsim SE 10.5. I am getting the following error from the image.
View attachment 172431
Could someone help me with this problem please, I leave part of the fifo code and how I am trying to implement it in my project.
the error message is clear: you are trying in your code to assign scalar data to vector data. More precisely you have:
1) output reg [DATA_WIDTH - 1 : 0] rd_data, (which is vector)
and signal
2) signal rd_data_slv_f1 : std_logic; (which is scalasr)
and then in line: rd_data => rd_data_slv_f1,
you are assign this scalar signal to register which is vector.
el mensaje de error es claro: está intentando en su código asignar datos escalares a datos vectoriales. Más precisamente tienes:
1) salida reg [DATA_WIDTH - 1 : 0] rd_data, (que es vector)
y señal
2) rd_data_slv_f1 de señal: std_logic; (que es scalasr)
y luego en línea: rd_data => rd_data_slv_f1,
se le asigna esta señal escalar para registrar cuál es vector.
gracias por la ayuda, acabo de resolver el error modificando la siguiente línea
[CÓDIGO]rd_data_slv_f1 de señal : std_logic_vector(0 hasta 0); [/CÓDIGO]
the error message is clear: you are trying in your code to assign scalar data to vector data. More precisely you have:
1) output reg [DATA_WIDTH - 1 : 0] rd_data, (which is vector)
and signal
2) signal rd_data_slv_f1 : std_logic; (which is scalasr)
and then in line: rd_data => rd_data_slv_f1,
you are assign this scalar signal to register which is vector.