edwardcwang
8a30579a3e
Support firrtl output in command line for MacroCompiler ( #28 )
...
* Use the given port prefix (fix a bug preventing two unit tests from passing)
* Support firrtl output in addition to Verilog
2017-12-04 15:12:42 -08:00
edwardcwang
c884a2fb15
Correct multi-ported memory compilation ( #27 )
...
* Correct multi-ported memory compilation
It was incorrectly splitting multiple times before. Fixed the issue and
added regression tests for this issue.
* Add 1 read 1 write test
2017-10-06 18:04:49 -07:00
Edward Wang
e1499fcdc0
Update command line help
2017-10-03 11:56:30 -07:00
Edward Wang
e09f8b1b0d
Fix grammar
2017-10-03 11:56:30 -07:00
Edward Wang
bc26f5eb1a
Address review comments
2017-10-03 11:56:30 -07:00
Edward Wang
d2b105079d
Not a scaladoc
2017-10-03 11:56:30 -07:00
Edward Wang
13d8a0f8f5
Add strict mode
2017-10-03 11:56:30 -07:00
Edward Wang
43d242707b
Enable some more tests
2017-10-03 11:56:30 -07:00
Edward Wang
af67540a81
Add test from Donggyu
2017-10-03 11:56:30 -07:00
Edward Wang
5d3bebd2b9
Re-implement parallel mapping
...
- Support byte-masked SRAM, yay
- Also nuke a bunch of bugs
2017-10-03 11:56:30 -07:00
Edward Wang
676b8e72ba
Add rocket-chip inspired tests
2017-10-03 11:56:30 -07:00
Edward Wang
e89079f2d7
Test for non-empty Verilog
2017-10-03 11:56:30 -07:00
Edward Wang
f9edbfea27
Move cost metric to its own file
2017-10-03 11:56:30 -07:00
Edward Wang
df8b5815c6
Trim redundant MDF field
2017-10-03 11:56:30 -07:00
Edward Wang
4013b1924f
Implement command line cost metric selection
2017-10-03 11:56:30 -07:00
Edward Wang
0f4683700f
Add cost function selection test
2017-10-03 11:56:30 -07:00
Edward Wang
0203aa9e7c
Move notes to main file since they apply there as well
2017-10-03 11:56:30 -07:00
Edward Wang
a25c84f72c
Specify cost function from command line
2017-10-03 11:56:30 -07:00
Edward Wang
923a08dfa1
Fix typo
2017-10-03 11:56:30 -07:00
Edward Wang
00c99f56b1
Add sbt-assembly for making jar
2017-10-03 11:56:30 -07:00
Edward Wang
ffd7893d63
Implement cost selection from command line
2017-10-03 11:56:30 -07:00
Edward Wang
0e474dac5e
Add external metric
2017-10-03 11:56:30 -07:00
Edward Wang
5d14f1995a
Start cost function refactor
2017-10-03 11:56:30 -07:00
Edward Wang
0f2d00e008
Add some documentation
2017-10-03 11:56:30 -07:00
Edward Wang
f854c6c9f0
Nuke hardcoded JSON tests from orbit
2017-10-03 11:56:30 -07:00
Edward Wang
a177c895e8
Finish rewriting in new format
2017-10-03 11:56:30 -07:00
Edward Wang
513da4eb37
Support non-prefixed ports
2017-10-03 11:56:30 -07:00
Edward Wang
85d18b736e
Document
2017-10-03 11:56:30 -07:00
Edward Wang
519ffef50a
Tests aren't that brittle since firrtl reparses the output
2017-10-03 11:56:30 -07:00
Edward Wang
e47cf92139
Move HasNoLibTestGenerator out of SynFlops
2017-10-03 11:56:30 -07:00
Edward Wang
94b13e96fb
Add functional tests
...
To be enabled when a new firrtl-interpreter is published
2017-10-03 11:56:30 -07:00
Edward Wang
de66405fe8
Write flop tests using generator
2017-10-03 11:56:30 -07:00
Edward Wang
93331cd26d
More refactor
2017-10-03 11:56:30 -07:00
Edward Wang
3730f76fa3
Fix unit tests to include address registers
2017-10-03 11:56:30 -07:00
Edward Wang
e3d5e4d3ad
Refactor execution of the compiler from the check
2017-10-03 11:56:30 -07:00
Edward Wang
cca6c0ea7e
Refactor memory compiler, again
2017-10-03 11:56:30 -07:00
Donggyu Kim
937b053b15
consider mask grans for cost
2017-10-03 11:56:30 -07:00
Donggyu Kim
ba33306e30
output selection signals should be piped
2017-10-03 11:56:30 -07:00
Edward Wang
d5b30c420b
Add comment
2017-10-03 11:56:30 -07:00
Edward Wang
b546f49a85
Fix tests by reordering statements
...
Not sure what caused this re-ordering but it doesn't seem to affect anything?
2017-10-03 11:56:30 -07:00
Edward Wang
2126835df2
Clarify comments
2017-10-03 11:56:30 -07:00
Edward Wang
e02f885e4b
Port all tests to use the generator
2017-10-03 11:56:30 -07:00
Edward Wang
2a8d8803a9
Further refactor test generator
2017-10-03 11:56:30 -07:00
Edward Wang
0bfc7a94df
Make instance numbers generic for depth and width
2017-10-03 11:56:30 -07:00
Donggyu Kim
4fc829a570
simple bug fix
2017-10-03 11:56:30 -07:00
Edward Wang
484906b85c
Refactor test generator from depth
2017-10-03 11:56:30 -07:00
Edward Wang
dd4c55aa09
Implement the rest of the split depth tests
2017-10-03 11:56:30 -07:00
Edward Wang
d83fb47da3
Add split port tests
2017-10-03 11:56:30 -07:00
Edward Wang
870e3c1af1
All depth tests now fully automatic
2017-10-03 11:56:30 -07:00
Edward Wang
ae139ede44
Fix another name collision
2017-10-03 11:56:30 -07:00