-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added sifive.com/MEM/{WO,RO}/0.1.0 bus definitions ; #5
- Loading branch information
Showing
2 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
abstractionDefinition: { | ||
vendor: 'sifive.com', | ||
library: 'MEM', | ||
name: 'RO_rtl', | ||
version: '0.1.0', | ||
busType: { | ||
vendor: 'sifive.com', | ||
library: 'MEM', | ||
name: 'RO', | ||
version: '0.1.0', | ||
}, | ||
ports: { | ||
CLK: { | ||
description: 'Memory clock', | ||
requiresDriver: true, | ||
isClock: true, | ||
wire: { | ||
onMaster: {width: 1, direction: 'in', presence: 'optional'}, | ||
onSlave: {width: 1, direction: 'in', presence: 'optional'} | ||
} | ||
}, | ||
RDEN: { | ||
description: 'Read enable', | ||
wire: { | ||
onMaster: {width: 1, direction: 'out', presence: 'required'}, | ||
onSlave: {width: 1, direction: 'in', presence: 'required'} | ||
} | ||
}, | ||
BEN: { | ||
description: 'Byte enable', | ||
wire: { | ||
onMaster: {width: 'BEN_WIDTH', direction: 'out', presence: 'optional'}, | ||
onSlave: {width: 'BEN_WIDTH', direction: 'in', presence: 'optional'} | ||
} | ||
}, | ||
ADDR: { | ||
description: 'Read / Write port address', | ||
wire: { | ||
onMaster: {width: 'ADDR_WIDTH', direction: 'out', presence: 'required'}, | ||
onSlave: {width: 'ADDR_WIDTH', direction: 'in', presence: 'required'} | ||
} | ||
}, | ||
RDDATA: { | ||
description: 'Read port data', | ||
wire: { | ||
onMaster: {width: 'DATA_WIDTH', direction: 'in', presence: 'required'}, | ||
onSlave: {width: 'DATA_WIDTH', direction: 'out', presence: 'required'} | ||
} | ||
}, | ||
RDERR: { | ||
description: 'If ECC feature is present, this signals that an undorrectable error was detected on the read data', | ||
wire: { | ||
onMaster: {direction: 'in', presence: 'optional'}, | ||
onSlave: {direction: 'out', presence: 'optional'} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
abstractionDefinition: { | ||
vendor: 'sifive.com', | ||
library: 'MEM', | ||
name: 'WO_rtl', | ||
version: '0.1.0', | ||
busType: { | ||
vendor: 'sifive.com', | ||
library: 'MEM', | ||
name: 'WO', | ||
version: '0.1.0', | ||
}, | ||
ports: { | ||
CLK: { | ||
description: 'Memory clock', | ||
requiresDriver: true, | ||
isClock: true, | ||
wire: { | ||
onMaster: {width: 1, direction: 'in', presence: 'optional'}, | ||
onSlave: {width: 1, direction: 'in', presence: 'optional'} | ||
} | ||
}, | ||
WREN: { | ||
description: 'Write enable', | ||
wire: { | ||
onMaster: {width: 1, direction: 'out', presence: 'required'}, | ||
onSlave: {width: 1, direction: 'in', presence: 'required'} | ||
} | ||
}, | ||
BEN: { | ||
description: 'Byte enable', | ||
wire: { | ||
onMaster: {width: 'BEN_WIDTH', direction: 'out', presence: 'optional'}, | ||
onSlave: {width: 'BEN_WIDTH', direction: 'in', presence: 'optional'} | ||
} | ||
}, | ||
ADDR: { | ||
description: 'Read / Write port address', | ||
wire: { | ||
onMaster: {width: 'ADDR_WIDTH', direction: 'out', presence: 'required'}, | ||
onSlave: {width: 'ADDR_WIDTH', direction: 'in', presence: 'required'} | ||
} | ||
}, | ||
WRDATA: { | ||
description: 'Write port data', | ||
wire: { | ||
onMaster: {width: 'DATA_WIDTH', direction: 'out', presence: 'required'}, | ||
onSlave: {width: 'DATA_WIDTH', direction: 'in', presence: 'required'} | ||
} | ||
}, | ||
RDERR: { | ||
description: 'If ECC feature is present, this signals that an undorrectable error was detected on the read data', | ||
wire: { | ||
onMaster: {direction: 'in', presence: 'optional'}, | ||
onSlave: {direction: 'out', presence: 'optional'} | ||
} | ||
} | ||
} | ||
} | ||
} |