Skip to content

Commit

Permalink
icezum: Fix bug in simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 18, 2024
1 parent 3b8f748 commit 20c060c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions icezum/Marcha-Imperial/genrom.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
//----------------------------------------------------------------------------

module genrom #( //-- Parametros
//-- Parametro: Nombre del fichero con el contenido de la ROM
parameter ROMFILE = "rom1.list",
parameter AW = 5, //-- Bits de las direcciones (Adress width)
parameter DW = 4) //-- Bits de los datos (Data witdh)

Expand All @@ -21,9 +23,6 @@ module genrom #( //-- Parametros
input wire [AW-1: 0] addr, //-- Direcciones
output reg [DW-1: 0] data); //-- Dato de salida

//-- Parametro: Nombre del fichero con el contenido de la ROM
parameter ROMFILE = "rom1.list";

//-- Calcular el numero de posiciones totales de memoria
localparam NPOS = 2 ** AW;

Expand Down

0 comments on commit 20c060c

Please sign in to comment.