1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00

1579 Commits

Author SHA1 Message Date
Andreas.Olofsson
6b0cb3b24d Hard coding values in oh_verify
-Match up with stimulus. You can always construct your own using oh_random
2022-06-27 16:37:17 -04:00
aolofsson
7ba6be5a2f Adding siganture checker
- Dead simple, just recreate the same lfsr pattern at destination
2022-06-27 09:28:29 -04:00
aolofsson
5076694f60 New random number generator (wip) 2022-06-27 09:28:06 -04:00
aolofsson
4b95578d9c Making stimulus module more general
- Drive random stimulus, from memory, or bypass
2022-06-27 00:27:22 -04:00
aolofsson
e8bbc6a675 Adding Top level simulation file for icarus
- Very thin file with simulation control specific to simulators
- A similar file needed for Verilator
- The idea is that the testbench can be instantiated in an FPGA/Verilator
2022-06-27 00:26:09 -04:00
aolofsson
ada97a78be Changing testbench hiearchy
- A testbench now continaines a dut, standard stimulus module, and in place logic for checking the result.
- The result checking in verilog is the hardest part and generally not done well.
- For verilator/systemc, we rbing out the checking into software through the interface.
- For simple testing like rng based testing or self checking cpu tests, we add the check in verilog at the testbench level on a per dut basis.
2022-06-27 00:24:07 -04:00
aolofsson
a94911808a Changing testbench to be a stub 2022-06-27 00:23:48 -04:00
aolofsson
3ad1b03fe7 Removing dut feedback loop from simulation control
- ...to complicated...
- incloding a simple linear test flow for "80%" of foofoo testing
-
2022-06-27 00:22:02 -04:00
aolofsson
aeb133be6f Making stimulus memory a portable RAM
-Cleaing up some comments and spacing...
2022-06-24 22:41:52 -04:00
aolofsson
ed8a53cdd2 Moving simctrl to testbench
- Cleaning up interfaces
- Adding more universal parameters to testbench top
2022-06-24 22:40:28 -04:00
aolofsson
4b3a48a01a Adding testbench to be used in fpga/sim 2022-06-24 22:19:33 -04:00
aolofsson
822fa009b8 Refactoring simulation control file
- Better names (clk1/clk2 was confusing)
- Removing supplies (rare special case), handle with ctrl
- Remove sting passing parameters for testname, primitive, not useuful
2022-06-24 22:17:42 -04:00
aolofsson
17cbf190dc Adding stub file for tb_dut wrapper 2022-06-24 22:17:21 -04:00
aolofsson
354148d176 Fixing cdc linter error 2022-06-23 17:50:14 -04:00
Andreas.Olofsson
19f278ddb3 Changing name dv to testbench
-Clarity...
2022-06-22 11:12:51 -04:00
Andreas.Olofsson
e631bfe3f1 Fixing naming error
-The directory should contain rtl only.
-HDL is too broad a term
2022-06-22 11:04:54 -04:00
aolofsson
62e519b52a Directory strcuture change
-hdl-->rtl (more common...)
2022-06-21 14:59:53 -04:00
aolofsson
289024fd89 Flattening directory tree (again)
- Creating an arbitrary 'src' directory really doesn't help much...
- Goal is to make each folder self contained
- Make meta repos and individual repos have the same directory structure
2022-06-21 14:48:48 -04:00
aolofsson
60fdcbd3e6 Renaming enoc to emesh for consistency 2022-06-18 08:51:24 -04:00
aolofsson
f938b7acac Shorter, better names for rams 2022-06-17 23:16:07 -04:00
aolofsson
19074173ff Making stimulus a general purpose test vector engine
-Should work in an FPGA as well...
-Anything that is synthesizable goes into the hdl/rtl directory...
2022-06-17 23:04:34 -04:00
aolofsson
996d980059 Adding testbench for stimulus
-New name, new methodology
2022-06-17 23:03:32 -04:00
aolofsson
f0d0750dae Adding test template for emesh packet format 2022-06-17 23:01:40 -04:00
aolofsson
1d7dd09b19 Rallying around TARGET for any platform specific RTL 2022-06-17 15:10:19 -04:00
aolofsson
f0372e5afe Adding random pulse generator 2022-06-17 15:10:03 -04:00
aolofsson
d380374049 Adding basic limits to random number generator 2022-06-17 15:09:32 -04:00
aolofsson
70bbde9ccb Adding basic random HW random number generator
-work in progress...
2022-06-17 14:40:24 -04:00
aolofsson
a31e16fb25 Increasing timeout value on simctrl to reasonable default 2022-06-17 14:39:23 -04:00
aolofsson
f6610a0f80 Updating emesh monitor
- Removing hard coded name in file (dumb)
- Adding support for multiple packet sizes
2022-06-17 12:56:46 -04:00
aolofsson
46310f842e Changing block name to avoid conflict with "soft" constraints 2022-06-12 22:48:14 -04:00
aolofsson
5258c5c357 Adding place holder isolation buffers 2022-05-29 09:21:10 -04:00
aolofsson
e89f815b38 Going back to placing all folders in src
- Only way to scale, final decision!!
2022-05-29 08:45:00 -04:00
aolofsson
d8b44971b5 Fixing old WIP typo bug 2022-05-29 08:43:44 -04:00
aolofsson
818ad00d3c Moving mathlib into stdlib
-Less libraries is better in this case
2022-05-27 22:01:24 -04:00
Andreas Olofsson
23b26c4a93
Merge pull request #111 from nmoroze/master
Some tweaks to padring library
2021-11-26 21:15:20 -05:00
Noah Moroze
a7bae72f34 Pass through tech_cfg_width to iobuf 2021-10-08 18:53:47 +00:00
Noah Moroze
172c1f8732 Make tech_cfg an inout so it can expose tieoffs 2021-10-07 18:32:20 +00:00
aolofsson
24e70f55bd Confusing to have more than one clock for a sync fifo... 2021-09-25 22:35:42 -04:00
aolofsson
5d4ad5b17b Merge branch 'master' of github.com:aolofsson/oh 2021-09-23 09:58:21 -04:00
aolofsson
eb16df1e3c Fixing syntax errors found by surelog 2021-09-23 09:58:08 -04:00
Noah Moroze
eeb0b784c4 Add ring port for tech-specific power-ring signals 2021-08-18 19:31:04 +00:00
Noah Moroze
4942b2509a Fix typo 2021-08-17 19:34:44 +00:00
Andreas Olofsson
e0abb876da
Merge pull request #110 from nmoroze/master
Add "tech config" pass-through for technology-specific GPIO configuration
2021-08-15 22:49:09 -04:00
Noah Moroze
b4f1aa3a60 Add generic cell under oh_pads_corner
To be consistent with how other I/O cells are defined.
2021-08-13 16:18:37 -04:00
Noah Moroze
3e1d6d8e8d Add parameters to disable POC/cut cells 2021-08-13 16:18:21 -04:00
Noah Moroze
bc9d7f8e55 Insert missing comma 2021-08-07 17:16:40 -04:00
Noah Moroze
d8a28ac153 padring: add pass-through "tech config" for GPIO
This is an escape hatch for connecting to technology-specific I/O config pins.
2021-08-05 17:22:47 -04:00
Noah Moroze
adb1bf9eae Fix whitespace in oh_padring
- Convert tabs to spaces
- Trim trailing whitespace
2021-08-05 15:48:45 -04:00
aolofsson
88dd3be734 Creating mathlib for arithmetic 2021-08-02 18:18:54 -04:00
aolofsson
4643670a08 Adding ASICLIB description 2021-08-02 18:03:51 -04:00