Difference between revisions of "Genesis2Examples"

From Genesis2
Jump to: navigation, search
(Wallace Tree)
(Wallace Tree)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Small Design Examples ==
 
== Small Design Examples ==
 +
 +
For each example, a zip file is provided. To extract use:
 +
<pre>unzip file.zip</pre>
 +
 
=== Wallace Tree ===
 
=== Wallace Tree ===
* Test harness 1: the user say how many and what types of wallace tree instances. A testbench that instantiate all Wallace tree modules is generated, as well as test patterns for testing all modules, and assertions.
+
* Test harness 1: the user specifies how many and what types of wallace tree instances. A testbench that instantiates all Wallace tree modules is generated, as well as test patterns for testing all modules, and assertions. [[File:Iterative_wallace_tree.zip]]
* Test harness 2: Emulating a scenario where the parameter is set inside the module. A testbench that a Wallace tree modules is generated, the testbench looks into the generated module to query its parameters. Then it generates test patterns and assertions.
+
* Test harness 2: Emulating a scenario where the parameter is set inside the module. A testbench where a Wallace tree module is generated, the testbench looks into the generated module to query its parameters. Then it generates test patterns and assertions. [[File:Many_iterative_wallace_trees.zip]]
  
 
=== Register File Generator ===
 
=== Register File Generator ===
A simple config and debug register file generator, for any number of registers, of any width, with any default value and any base address.
+
A simple config and debug register file generator, for any number of registers, of any width, with any default value and any base address. [[File:Regfile.zip]]

Latest revision as of 04:43, 26 April 2011

Small Design Examples

For each example, a zip file is provided. To extract use:

unzip file.zip

Wallace Tree

  • Test harness 1: the user specifies how many and what types of wallace tree instances. A testbench that instantiates all Wallace tree modules is generated, as well as test patterns for testing all modules, and assertions. File:Iterative wallace tree.zip
  • Test harness 2: Emulating a scenario where the parameter is set inside the module. A testbench where a Wallace tree module is generated, the testbench looks into the generated module to query its parameters. Then it generates test patterns and assertions. File:Many iterative wallace trees.zip

Register File Generator

A simple config and debug register file generator, for any number of registers, of any width, with any default value and any base address. File:Regfile.zip