Initial Commit - Forked from PeakRDL-regblock @ a440cc19769069be831d267505da4f3789a26695
This commit is contained in:
11
tests/test_pkg_params/regblock.rdl
Normal file
11
tests/test_pkg_params/regblock.rdl
Normal file
@@ -0,0 +1,11 @@
|
||||
addrmap top #(
|
||||
longint N_REGS = 1,
|
||||
longint REGWIDTH = 32,
|
||||
string NAME = "abcd"
|
||||
) {
|
||||
reg reg_t {
|
||||
regwidth = REGWIDTH;
|
||||
field {sw=rw; hw=r;} f[REGWIDTH] = 1;
|
||||
};
|
||||
reg_t regs[N_REGS];
|
||||
};
|
||||
Reference in New Issue
Block a user