David Shah
fffc3b8447
frontend/base: Top module handling
...
Signed-off-by: David Shah <dave@ds0.me>
2019-12-27 10:44:29 +00:00
David Shah
fa7317f594
frontend: Draft for a generic template-based frontend API
...
Signed-off-by: David Shah <dave@ds0.me>
2019-12-27 10:44:29 +00:00
Clifford Wolf
fe26ce4471
Move json parser from frontend/json/ to json/
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-23 16:20:31 +02:00
Clifford Wolf
80fbf7e4eb
Update jsonparse clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-23 16:16:11 +02:00
Clifford Wolf
aa81f9d648
Switched from clifford@clifford.at to clifford@symbioticeda.com for copyright headers
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-22 16:19:17 +02:00
Miodrag Milanovic
c33a039ac3
Added return code to json parsing and pcf reading
2018-06-21 18:08:28 +02:00
Clifford Wolf
4fefdbd57c
Cleanup parse_json_file API, some other cleanups
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-21 16:16:58 +02:00
Clifford Wolf
a29bfc788e
Add ctx->checksum(), slightly improve log messages
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-21 15:47:41 +02:00
Clifford Wolf
993f6ef7d3
Improve log messages, move many messages to verbose mode
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-21 14:09:50 +02:00
Clifford Wolf
c4e544856a
Fix jsonparse compiler warnings, clangformat updates
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-20 13:40:13 +02:00
Clifford Wolf
7c3593ea5a
Updates from clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-20 12:57:59 +02:00
David Shah
1d34507937
json: Make the JSON parser deterministic
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-19 20:43:52 +02:00
Clifford Wolf
fd40d6f58d
Updates from clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-19 14:10:42 +02:00
David Shah
e3519ddfcd
ice40: Adding support for tristate IO
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-19 11:12:18 +02:00
Clifford Wolf
58dfdfa9c8
Getting rid of users of old IdString API
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-18 16:32:19 +02:00
Clifford Wolf
58e3104796
Updates from clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-18 14:07:18 +02:00
Clifford Wolf
8ee149f4fc
Rename Design to Context, derive from Arch instead of instantiating
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-18 14:06:37 +02:00
David Shah
fc7490370b
Improving code style and fixing dummy
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-18 11:43:59 +02:00
Clifford Wolf
0b2345996d
Updates from clangformat
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-17 19:28:03 +02:00
David Shah
459a7a0b82
frontend/json: Look up netnames properly instead of using number
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-17 12:53:29 +02:00
Clifford Wolf
794fc6df60
Add support for CellInfo->pins in router
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-13 17:52:18 +02:00
David Shah
16ee2a89a8
frontend/json: Fix bus ports
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 17:32:34 +02:00
David Shah
9374ef29bf
Fixing implementation of constants
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 14:01:42 +02:00
David Shah
a76f5c5678
Remove IO buffers when fed by SB_IO
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 10:50:05 +02:00
David Shah
ddf549b117
frontend/son: Insert generic IO buffers for top level IO
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 10:21:31 +02:00
David Shah
a34c790b6a
frontend/json: Refactor port importer
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 10:06:31 +02:00
David Shah
0aec418ee3
Adding IO buffer insertion function to JSON frontend
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-13 09:42:33 +02:00
Clifford Wolf
a139654980
Add IdString API
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-12 15:08:01 +02:00
Clifford Wolf
391d49c13e
Add nextpnr namespace
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-12 14:24:59 +02:00
Clifford Wolf
be73894bea
Add "nextpnr.h"
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-11 20:12:57 +02:00
Clifford Wolf
ac67482380
Remove pool, dict, vector namespace aliases
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-11 19:56:33 +02:00
David Shah
e15620ccd4
json: Parse cell attributes
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-09 19:33:44 +02:00
ZipCPU
cbd0622fb8
Merged log_ lines in the JSON parser
2018-06-07 15:54:23 -04:00
ZipCPU
87775d3c6f
Tried to add fixes *and* update clang-format jsonparse.cc
2018-06-07 15:46:21 -04:00
ZipCPU
4499864024
Applied clang-format to my own contributions
2018-06-07 15:38:24 -04:00
ZipCPU
a4f687548e
Adjusted info message names for rule-checker and parser
2018-06-07 12:04:01 -04:00
ZipCPU
f32b9622d5
Initial (random) placer capability
...
This commit also includes changes to jsonparse to allow it to
1) recognize ports with no connection, and set their net pointers to NULL
2) recognize designs with a ports node rather than a ports_direction
The rule checker has also been modified to accommodate possible NULL netlists
The ice40 chip now also has iterator operations ++bi and bi++.
2018-06-07 09:38:14 -04:00
ZipCPU
d7bb30cc66
added ports (not ports_directions) to jsonparse.cc
2018-06-07 07:38:35 -04:00
David Shah
41b949832c
Fix handling of parameters in JSON
...
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-07 20:39:53 +02:00
ZipCPU
795cf4f3a3
String fixes to json parser
2018-06-06 14:55:20 -04:00
ZipCPU
16b9a2f1b5
Attempt to add JSON parser--not working yet w/ build system
2018-06-06 14:44:54 -04:00
ZipCPU
468ed85280
Applied Rule Check to parser results, refactored JSON parser
2018-06-06 12:20:24 -04:00
ZipCPU
2e6d0b752a
Removed erroneous BEL assignment in JSON parser
2018-06-06 07:49:35 -04:00
ZipCPU
bd08f9e698
Removed the log_ dependencies from json-parser
2018-06-05 11:39:27 -04:00
ZipCPU
709ce3884d
Initial JSON parser
2018-06-05 09:01:26 -04:00