Commit Graph

231 Commits

Author SHA1 Message Date
tangxifan e82d0d9f34 drop id list in bitstream manager to save memory usage 2020-07-02 16:18:32 -06:00
tangxifan 9f19c36a89 use char in fabric bitstream to save memory footprint 2020-07-02 15:56:50 -06:00
tangxifan 405824081b reserve configuration blocks and bits in bitstream manager builder to be memory efficient 2020-07-02 15:28:52 -06:00
tangxifan 9d32a5b81f add alias name support for fabric key 2020-06-27 14:59:53 -06:00
tangxifan b36da17a08 bug fix for directory creation when the input is an empty string 2020-06-25 10:34:34 -06:00
tangxifan e2d3ac78ec skip empty lines in OpenFPGA shell 2020-06-25 10:18:05 -06:00
tangxifan aded675633 rename files in fpga bitstream library to be consistent with conventions 2020-06-21 13:06:39 -06:00
tangxifan 2f33c35a4f add example XML file for bitstream 2020-06-20 19:05:44 -06:00
tangxifan 3bcdd0e1d4 clean up writer format for bitstream 2020-06-20 19:01:33 -06:00
tangxifan 1e763515b3 bug fix in bitstream parser and writer 2020-06-20 18:39:21 -06:00
tangxifan 675a59ecb8 Move fpga_bitstream to the libopenfpga library and add XML reader 2020-06-20 18:25:17 -06:00
tangxifan a5055e9d26 add support about loading external fabric key 2020-06-12 13:03:11 -06:00
tangxifan 3499b4d3e7 add fabric key writer for top-level module 2020-06-12 10:41:34 -06:00
tangxifan f081cef495 add fabric key library 2020-06-12 00:07:04 -06:00
tangxifan 58807bfcb3 remove simulation settings from openfpga arch data structure 2020-06-11 19:31:16 -06:00
tangxifan f26550141f add missing files 2020-06-11 19:31:16 -06:00
tangxifan 15f087598c split simulation settings to a separated XML file 2020-06-11 19:31:15 -06:00
tangxifan 8267dad8ef add decoder support for Z signals 2020-06-11 19:31:14 -06:00
tangxifan b8c449d520 add comments for decoding functions to help debugging the frame-based decoders 2020-06-11 19:31:11 -06:00
tangxifan 65df309419 bug fixing for frame-based configuration protocol and rename some naming function to be generic 2020-06-11 19:31:10 -06:00
tangxifan 3a0d3b4e95 fix the broken CI/regression tests due to incorrect file path 2020-06-11 19:31:10 -06:00
tangxifan 3a26bb5eef add advanced check in configurable memories 2020-06-11 19:31:09 -06:00
tangxifan 62c506182c start developing frame-based configuration protocol 2020-06-11 19:31:09 -06:00
tangxifan f52b5d5b4c use error code in read_arch command 2020-06-11 19:31:07 -06:00
tangxifan 05d276097e critical bug fixed in openfpga shell so that our command parse results should be reset each time before parsing a line 2020-06-11 19:31:05 -06:00
tangxifan 6aff33dd35 add fabric hierarchy writer 2020-06-11 19:31:04 -06:00
tangxifan 8726c618eb add time unit support on SDC generator. Now users can define time_unit thru cmd-line options 2020-06-11 19:31:03 -06:00
tangxifan 8695c5ee78 add options to use general-purpose wildcards in SDC generator 2020-06-11 19:31:02 -06:00
tangxifan 8ac6e10727 bug fix in lut and mux module generation on supporting spypads 2020-04-22 14:41:16 -06:00
tangxifan 07a384e440 now use openfpga tokenizer to trim command line string in openfpga shell 2020-04-13 11:08:31 -06:00
tangxifan e6c896d583 now inout must be global port and I/O port so that it will appear in the top-level module 2020-04-08 16:54:08 -06:00
tangxifan b9dab2baaf add exit codes to command execution in shell context 2020-04-08 16:18:05 -06:00
tangxifan 1fb37f4c71 improve directory creator to support same functionality as 'mkdir -p' 2020-04-08 12:55:09 -06:00
tangxifan e31dc1f2f2 openfpga shell now support continued line charactor '\' 2020-04-07 21:27:51 -06:00
tangxifan 33315f0521 now openfpga shell allow empty space at beginning and end of each line in script mode 2020-04-07 20:46:45 -06:00
tangxifan 6eb125ec2a Now cross-column/row is optional to direct annotation in OpenFPGA architecture XML 2020-04-06 14:09:52 -06:00
tangxifan 5f4e7dc5d4 support gpinput and gpoutput ports in module manager and circuit library 2020-04-05 16:52:21 -06:00
tangxifan 8b583b7917 debugging spy port builder in module manager 2020-04-05 16:01:25 -06:00
tangxifan ff9cc50527 relax I/O circuit model checking to fit AIB interface. Adapt testbench generation for multiple types of I/O pads 2020-03-27 20:09:50 -06:00
tangxifan 3647548526 clean up on the shell echo commands 2020-03-20 11:07:45 -06:00
tangxifan 3aca7b498c Show help desk when a command is called inside shell without satisfying the dependency 2020-03-09 09:34:21 -06:00
tangxifan b035b4c87f debugged with Lbrouter. Next step is to output routing traces to physical pb data structure 2020-02-21 12:16:50 -07:00
tangxifan c6c3ef71f3 adapt all the Verilog submodule writers and bring it onlien 2020-02-16 13:35:18 -07:00
tangxifan a88c4bc954 add decode utils to libopenfpga and adapt local decoder writer in Verilog 2020-02-16 12:21:59 -07:00
tangxifan 622c7826d1 start transplanting fpga_verilog 2020-02-15 15:03:00 -07:00
tangxifan 59c13550e0 add direct annotation with inter-column/row syntax 2020-02-14 17:40:59 -07:00
tangxifan df3ae60954 add default configurable memory model set-up when reading openfpga architecture XML 2020-02-12 15:19:40 -07:00
tangxifan 99f5a86b49 bug fixed for routing annotation and routing net fix-up 2020-02-06 12:54:55 -07:00
tangxifan 87f1ca1151 add naming fix-up report generation 2020-01-29 18:56:47 -07:00
tangxifan 24b180b298 change the mode bit storage in annotation data structure from string to vector of integers 2020-01-29 11:59:20 -07:00
tangxifan df056f5d70 openfpga shell will stay in interactive mode after executing a script 2020-01-27 17:56:24 -07:00
tangxifan 5ecb771673 debugging the annotation to physical mode of pb_types 2020-01-27 17:43:22 -07:00
tangxifan 7d4b07421d finish XML parser and writer for pb_type annotation 2020-01-26 15:54:49 -07:00
tangxifan 1cba141dd0 add pb parser and support XML parsing for pb type name in full hiearchy 2020-01-26 11:52:58 -07:00
tangxifan cd3565cf53 complete the XML parser for pb_type annotation 2020-01-26 10:56:57 -07:00
tangxifan a9f03ce21b add XML attribute parsing for physical and operating pb_type annotation 2020-01-26 10:19:47 -07:00
tangxifan bafd866cfc start developing XML parser for pb_type annotation 2020-01-25 21:19:08 -07:00
tangxifan b6f96e5a8f add method functions to pb_type annotation 2020-01-25 20:46:21 -07:00
tangxifan 9b4b6ae083 rename pb_annotation and move it to openfpga namespace 2020-01-25 18:17:00 -07:00
tangxifan f834954698 start developing the pb_type annotation 2020-01-25 18:14:38 -07:00
tangxifan b4f4bf62a2 add comments to sample arch 2020-01-25 17:42:24 -07:00
tangxifan 7feeee8c0e add full syntax to sample_arch.xml about the physical pb_type binding 2020-01-25 17:38:06 -07:00
tangxifan b641ae15d3 add command dependency in shell execution 2020-01-24 16:46:39 -07:00
tangxifan 655f84b00e add write_openfpga_arch command to openfpga shell 2020-01-23 20:58:15 -07:00
tangxifan a03f8aa346 add profiling for read arch 2020-01-23 20:12:30 -07:00
tangxifan cdb3b6de46 add read_openfpga_arch to OpenFPGA shell 2020-01-23 19:10:53 -07:00
tangxifan e69aa5ba30 change type casting for vpr macro 2020-01-23 14:57:53 -07:00
tangxifan 26e6c4012f add const context function execution for shell 2020-01-23 14:50:03 -07:00
tangxifan 523f9ac391 start implement openfpga shell and use vpr as a macro 2020-01-22 20:20:10 -07:00
tangxifan e983966a08 add macro function support to openfpga shell and update unit test 2020-01-22 19:30:36 -07:00
tangxifan 558f0bb1bd bug fixing in shell echo messages and add a test script 2020-01-22 17:11:24 -07:00
tangxifan bb8ef9614f change to namespace openfpga and bug fixed to avoid easy crash due to wrong options 2020-01-22 16:49:32 -07:00
tangxifan f8c5c1a117 update shell with new function binding strategy and new help desk print-out 2020-01-22 16:05:14 -07:00
tangxifan 7073e4d082 add shell unit test 2020-01-21 22:59:53 -07:00
tangxifan 4f26e2519f add shell interface and command execution 2020-01-21 20:46:24 -07:00
tangxifan 363ab382e5 add shell data structure 2020-01-21 17:24:49 -07:00
tangxifan b53897b838 add how-to-use for command data structure 2020-01-20 22:53:11 -07:00
tangxifan 7a5b36fe52 Add echo command and unit test for command parser 2020-01-20 20:31:16 -07:00
tangxifan 3ae80a192f add command echo functionality for mini shell 2020-01-20 19:42:43 -07:00
tangxifan acdb3818c2 start developing mini shell for open fpga 2020-01-20 18:14:24 -07:00
tangxifan 16752b7e39 update on sample arch 2020-01-20 12:42:08 -07:00
tangxifan 07994d424c add XML parser and writer for direct connection 2020-01-19 15:00:19 -07:00
tangxifan 10336cbe67 add XML parser and writer for routing circuit definition for OpenFPGA architecture 2020-01-19 14:44:27 -07:00
tangxifan ebe46d15a9 add XML parser, writer and linker for configuration protocol data structure 2020-01-18 21:19:20 -07:00
tangxifan 9693c3a12d add XML writer for simulation setting object 2020-01-18 16:41:42 -07:00
tangxifan bc3130d196 add XML parser for simulation setting 2020-01-18 15:40:20 -07:00
tangxifan 2a902c7e55 add mutators to simulation setting data structure 2020-01-18 14:07:37 -07:00
tangxifan 0de9908d52 add accessors to simulation setting data structure 2020-01-18 12:51:25 -07:00
tangxifan 7a46c85cb0 reorganize and clean-up sample architecture 2020-01-18 10:50:15 -07:00
tangxifan ab1b1b7e02 add XML writer for technology library 2020-01-17 20:02:56 -07:00
tangxifan 8f2936af54 finish XML parser for technology library 2020-01-17 17:43:55 -07:00
tangxifan e54760c677 add XML parsing for transistors and RRAM parameters in technology library 2020-01-17 17:32:42 -07:00
tangxifan d48a888804 add XML parsing for design parameters in technology library 2020-01-17 17:22:09 -07:00
tangxifan de0bcc96fb add missing file about XML parsers for technology library 2020-01-17 17:16:32 -07:00
tangxifan d58186507c add XML parsing for device model library settings 2020-01-17 17:15:58 -07:00
tangxifan 88a96673e3 rename some methods in technology library and start building associated XML parser 2020-01-17 16:44:57 -07:00
tangxifan d4b5171fa2 add comments to technology library 2020-01-17 15:31:44 -07:00
tangxifan 313922f03f add internal linker to technology library 2020-01-17 15:04:00 -07:00
tangxifan edaaa00c1d added mutators for technology library 2020-01-17 14:46:09 -07:00
tangxifan 6b703a4fc5 add accessors to technology library data structure 2020-01-17 13:34:32 -07:00
tangxifan 771f2d9c37 developing data structure TechnologyLibrary to store technology-related information 2020-01-17 10:17:15 -07:00
tangxifan aa070b2a41 further clean-up sample arch.xml 2020-01-17 09:38:35 -07:00
tangxifan 910c69d7e5 clean up and reorganize XML about technology library 2020-01-17 09:24:58 -07:00
tangxifan 5c69f57559 sample_arch:move cmos/rram variation to technology library XML nodes 2020-01-16 20:58:45 -07:00
tangxifan 95edd3c091 clean up the sample arch 2020-01-16 20:52:47 -07:00
tangxifan a598929fe7 add circuit library checker in the test 2020-01-16 20:25:00 -07:00
tangxifan f7a7c56366 move OpenFPGAArch to openfpga namespace 2020-01-16 20:22:56 -07:00
tangxifan d6adfa0821 add XML parsing for delay matrix and wire parasitics for circuit library 2020-01-16 20:14:39 -07:00
tangxifan 2e0ce78054 add XML writing for buffers in circuit library 2020-01-16 17:21:41 -07:00
tangxifan 9ba42cd540 add XML writer for circuit ports 2020-01-16 16:05:11 -07:00
tangxifan 0304d723c0 add XML writer for design technology of a circuit model 2020-01-16 14:45:41 -07:00
tangxifan 3ace7f8ef7 move generic data structures to openfpgautil library 2020-01-16 13:26:55 -07:00
tangxifan d232391250 developed XML writer for circuit library and start porting functions to openfpgautil library 2020-01-16 12:32:29 -07:00
tangxifan e282f813bc rename circuit settings to openfpga arch and update sample architecture 2020-01-15 20:28:04 -07:00
tangxifan 264dc8458d add XML parsing for delay matrix in circuit model 2020-01-15 20:21:53 -07:00
tangxifan 602d0bde4c add XML parsing for wire parasitics in circuit model 2020-01-15 19:54:57 -07:00
tangxifan 999c364b25 added XML parsing for circuit model ports 2020-01-15 17:29:49 -07:00
tangxifan c20e1d48d2 added XML parsing for pass-gate-logic in circuit models 2020-01-15 15:49:02 -07:00
tangxifan a9b122d584 add XML parsing for buffer models in circuit library 2020-01-15 15:27:49 -07:00
tangxifan 35d6c9661b Finish the first version of XML parser for design technology of circuit models 2020-01-14 16:24:27 -07:00
tangxifan 5937ffc809 add XML parsing for buffer/pass-gate-logic -related properties 2020-01-14 15:44:24 -07:00
tangxifan 56113e1aab adding XML parsing for design tech of circuit model 2020-01-14 14:10:00 -07:00
tangxifan 2692d0fc35 adding XML parsing for SPICE and Verilog netlist for each circuit model 2020-01-14 08:45:27 -07:00
tangxifan 82d83ddceb reorganized the read XML openfpga arch 2020-01-14 08:33:48 -07:00
tangxifan ca3ca14cc7 fixed bugs in XML when parsing circuit model types 2020-01-13 21:52:13 -07:00
tangxifan db503ffebf add openfpga read xml executable and start min unit test 2020-01-13 21:05:58 -07:00
tangxifan d6c69ea7c6 developing XML parser for circuit model name and type 2020-01-12 23:45:51 -07:00
tangxifan e2f641fdb3 add example architecture for openfpga and developing XML parser 2020-01-12 22:39:38 -07:00
tangxifan 2e986608ba initial commit on parser for reading openfpga arch xml 2020-01-12 21:33:28 -07:00
tangxifan 5dea648be6 add missing CMakeList for libarchopenfpga 2020-01-12 18:15:36 -07:00
tangxifan 48ecb6e48b immigrate XML parser for circuit_lib to library readarchopenfpga 2020-01-12 18:11:00 -07:00