Skip to content

Commit

Permalink
[pattgen,SiVal] Add features to pattgen.hjson
Browse files Browse the repository at this point in the history
I've split the features of the pattern generator into three groups:
channel, config and complete. The final feature did not really fit in
the other two, so it has its own group. We can use this feature list to
make sure that we test all major features of the block during silicon
validation.

Signed-off-by: Marno van der Maas <[email protected]>
  • Loading branch information
marnovandermaas committed Sep 28, 2023
1 parent 9f7c70e commit 4c38584
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions hw/ip/pattgen/data/pattgen.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,29 @@
local: "true"
}
],
features: [
{ name: "PATTGEN.CHANNEL.ONE",
desc: "Pattern generator can generate patterns on two separate channels, this is the first one."
},
{ name: "PATTGEN.CHANNEL.TWO",
desc: "Pattern generator can generate patterns on two separate channels, this is the second one."
},
{ name: "PATTGEN.CONFIG.PATTERN",
desc: "Each channel can be programmed with a pattern with a length of between 1 and 64 bits, inclusive."
},
{ name: "PATTGEN.CONFIG.DIVIDER",
desc: "Each channel has an independent clock divider."
},
{ name: "PATTGEN.CONFIG.REPEAT",
desc: "Each channel can be configured to repeat the pattern up to 1024 times."
},
{ name: "PATTGEN.CONFIG.POLARITY",
desc: "Each channel's clock can be inverted."
},
{ name: "PATTGEN.COMPLETE",
desc: "Once a pattern is finished, an interrupt is raised."
}
],
countermeasures: [
{ name: "BUS.INTEGRITY",
desc: "End-to-end bus integrity scheme."
Expand Down

0 comments on commit 4c38584

Please sign in to comment.