Skip to content

Commit 91c4ea4

Browse files
committed
upd top
1 parent 961520f commit 91c4ea4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cfg_pkg.svh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55

66
package cfg_pkg;
77

8-
parameter [15:0] CLK_CNT = 4; // 4x SCL
8+
parameter [15:0] CLK_CNT = 4; // 4x SCL
99

1010
parameter CONFIG_MEM = "config.mem";
1111
parameter MEM_DEPTH = 326;
1212
parameter MEM_WIDTH = 24;
1313
parameter DATA_WIDTH = 8;
14-
parameter CYCLES = MEM_WIDTH/DATA_WIDTH; // need 3 cycles to transmit 24 bit for 8 bit data output and pause between every byte
14+
parameter CYCLES = MEM_WIDTH/DATA_WIDTH; // need 3 cycles to transmit 24 bit for 8 bit data output and pause between every byte
1515

16-
parameter CLK_FREQ = 125_000_000; // clock freaquency
16+
parameter CLK_FREQ = 125_000_000; // clock freaquency
1717
parameter PERIOD_NS = 1_000_000_000/CLK_FREQ; // period of clock cycle in ns
1818
// parameter PAUSE_NS = (300 * 1_000_000)/PERIOD_NS; // delay 300 msec(300_000_000 ns) and 8 ns period
1919

20-
parameter SLAVE_ADDR = 7'b111_0100; // [6:0] 1110100 - addr, [7] - read/write bit
20+
parameter SLAVE_ADDR = 7'b111_0100; // [6:0] 1110100 - addr, [7] - read/write bit
2121

2222
typedef enum logic {
2323
WRITE = 1'b0,

0 commit comments

Comments
 (0)