From 61cd1fbfe3c5ac90187a60985cd9e804dfd2c140 Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 13 Sep 2021 22:09:04 -0700 Subject: [PATCH] Add directory that will contain SystemRDL files for tests --- tests/.gitignore | 2 ++ tests/{ => systemrdl}/external_registers.rdl | 0 tests/systemrdl/simple_rw_reg.rdl | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 tests/.gitignore rename tests/{ => systemrdl}/external_registers.rdl (100%) create mode 100644 tests/systemrdl/simple_rw_reg.rdl diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000..9a46904 --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1,2 @@ +srdl2sv_out +*.fst diff --git a/tests/external_registers.rdl b/tests/systemrdl/external_registers.rdl similarity index 100% rename from tests/external_registers.rdl rename to tests/systemrdl/external_registers.rdl diff --git a/tests/systemrdl/simple_rw_reg.rdl b/tests/systemrdl/simple_rw_reg.rdl new file mode 100644 index 0000000..f9bcd5a --- /dev/null +++ b/tests/systemrdl/simple_rw_reg.rdl @@ -0,0 +1,6 @@ +addrmap simple_rw_reg { + reg { + field {sw=rw; hw=rw;} f1 [15:0]; + field {sw=rw; hw=rw;} f2 [31:16]; + } register_0 [2]; +};