From e7020028f7f4ceb2e5b0135c2b11f28467c73d37 Mon Sep 17 00:00:00 2001 From: Aliaksei Chapyzhenka Date: Mon, 6 Apr 2020 11:36:20 -0700 Subject: [PATCH 1/2] added JTAG busDef --- .../sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 diff --git a/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 b/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 new file mode 100644 index 0000000..5e16626 --- /dev/null +++ b/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 @@ -0,0 +1,56 @@ +{ + abstractionDefinition: { + vendor: 'sifive.com', + library: 'TEST', + name: 'JTAG_rtl', + version: '0.1.0', + busType: { + vendor: 'sifive.com', + library: 'TEST', + name: 'JTAG', + version: '0.1.0', + }, + ports: { + TCK: { + description: 'Clock', + requiresDriver: true, + isClock: true, + wire: { + onMaster: {width: 1, direction: 'out', presence: 'required'}, + onSlave: {width: 1, direction: 'in', presence: 'required'} + } + }, + TMS: { + description: 'Mode Select', + wire: { + onMaster: {width: 1, direction: 'out', presence: 'required'}, + onSlave: {width: 1, direction: 'in', presence: 'required'} + } + }, + TDI: { + description: 'Data Input', + isData: true, + wire: { + onMaster: {width: 1, direction: 'out', presence: 'required'}, + onSlave: {width: 1, direction: 'in', presence: 'required'} + } + }, + TDO: { + description: 'Data Output', + isData: true, + wire: { + onMaster: {width: 1, direction: 'in', presence: 'required'}, + onSlave: {width: 1, direction: 'out', presence: 'required'} + } + }, + TRST: { + description: 'Reset', + isReset: true, + wire: { + onMaster: {width: 1, direction: 'out', presence: 'optional'}, + onSlave: {width: 1, direction: 'in', presence: 'optional'} + } + }, + } + } +} From b628e17ed84e1d1fc8c161ec8155a8eb4e98dd89 Mon Sep 17 00:00:00 2001 From: Aliaksei Chapyzhenka Date: Mon, 6 Apr 2020 11:57:28 -0700 Subject: [PATCH 2/2] removed optional signals --- specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 b/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 index 5e16626..4d726b1 100644 --- a/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 +++ b/specs/sifive.com/TEST/JTAG/0.1.0/JTAG_rtl.json5 @@ -47,8 +47,8 @@ description: 'Reset', isReset: true, wire: { - onMaster: {width: 1, direction: 'out', presence: 'optional'}, - onSlave: {width: 1, direction: 'in', presence: 'optional'} + onMaster: {width: 1, direction: 'out'}, + onSlave: {width: 1, direction: 'in'} } }, }