Commit Graph

2980 Commits

Author SHA1 Message Date
Jean-Paul Chaput 02777e127e Migration towards Python3, first stage: still based on C-Macros.
* New: Python/C++ API level:
  * Write a new C++/template wrapper to get rid of boost::python
  * The int & long Python type are now merged. So a C/C++ level,
    it became "PyLong_X" (remove "PyInt_X") and at Python code
    level, it became "int" (remove "long").
* Change: VLSISAPD finally defunct.
  * Configuration is now integrated as a Hurricane component,
    makes use of the new C++/template wrapper.
  * vlsisapd is now defunct. Keep it in the source for now as
    some remaining non essential code may have to be ported in
    the future.
* Note: Python code (copy of the migration howto):
  * New print function syntax print().
  * Changed "dict.has_key(k)" for "k" in dict.
  * Changed "except Exception, e" for "except Exception as e".
  * The division "/" is now the floating point division, even if
    both operand are integers. So 3/2 now gives 1.5 and no longer 1.
    The integer division is now "//" : 1 = 3//2. So have to carefully
    review the code to update. Most of the time we want to use "//".
    We must never change to float for long that, in fact, represents
    DbU (exposed as Python int type).
  * execfile() must be replaced by exec(open("file").read()).
  * iter().__next__() becomes iter(x).__next__().
  * __getslice__() has been removed, integrated to __getitem__().
  * The formating used for str(type(o)) has changed, so In Stratus,
    have to update them ("<class 'MyClass'>" instead of "MyClass").
  * the "types" module no longer supply values for default types
    like str (types.StringType) or list (types.StringType).
    Must use "isinstance()" where they were occuring.
  * Remove the 'L' to indicate "long integer" (like "12L"), now
    all Python integer are long.
* Change in bootstrap:
  * Ported Coriolis builder (ccb) to Python3.
  * Ported Coriolis socInstaller.py to Python3.
  * Note: In PyQt4+Python3, QVariant no longer exists. Use None or
    directly convert using the python syntax: bool(x), int(x), ...
    By default, it is a string (str).
* Note: PyQt4 bindings & Python3 under SL7.
  * In order to compile user's must upgrade to my own rebuild of
    PyQt 4 & 5 bindings 4.19.21-1.el7.soc.
* Bug: In cumulus/plugins.block.htree.HTree.splitNet(), set the root
    buffer of the H-Tree to the original signal (mainly: top clock).
      Strangely, it was only done when working in full chip mode.
2021-09-19 19:41:24 +02:00
Las Safin fca22782a0
Remove unneeded input 2021-09-16 20:10:05 +00:00
Las Safin 8c21c6a35b
libresoc: Use recon experiment instead 2021-09-06 20:57:27 +00:00
Las Safin c3d10b21aa
Use older version of yosys for Libre-SoC 2021-09-05 18:48:19 +00:00
Las Safin 41274d6ab5
Make Libre-SoC almost work 2021-09-05 17:47:17 +00:00
Las Safin 4f6f668b74
Try to get libresoc working 2021-09-05 16:06:44 +00:00
Las Safin 6ae448ee39
LibreSoC experiment work 2021-09-05 14:49:09 +00:00
Las Safin 8e8844588c
Fix unittests 2021-09-05 14:22:18 +00:00
Las Safin c7bf1a75d2
Fix comment 2021-09-05 14:17:19 +00:00
Las Safin 0e8367d63c
Add nix/libresoc-experiments9.nix 2021-09-05 14:16:11 +00:00
Las Safin b1570850bd
Make unittests a check 2021-09-05 14:03:28 +00:00
Las Safin 7a3f337935
Make alliance-check-toolkit a check 2021-09-05 13:57:31 +00:00
Las Safin d5f3c6c3d0
Add comment about CORIOLIS_TOP 2021-09-05 12:20:50 +00:00
Las Safin 33a847c117
Make all checks work 2021-09-03 15:17:56 +00:00
Las Safin 7f805cb48f
Run all tests (some fail) 2021-09-03 14:00:08 +00:00
Las Safin df7d4667a9
Don't try to catch import error in cgt 2021-09-03 13:54:37 +00:00
Las Safin c62f95af7c
Get adder/cmos test working! 2021-09-03 13:49:43 +00:00
Las Safin e354b3ac4b
Fix stratus1 2021-09-03 13:48:01 +00:00
Las Safin c6624909de
Keep backward compatibility for cumulus users 2021-09-03 13:46:33 +00:00
Las Safin fd55e99a7c
fix karakaze 2021-09-03 13:33:48 +00:00
Las Safin 1fddafc814
Add combined 2021-09-03 13:31:29 +00:00
Las Safin 84640f3bc1
Some checks pass! 2021-09-03 13:10:08 +00:00
Las Safin a3a738c0ff
Fix cumulus 2021-09-03 12:50:39 +00:00
Las Safin 658db5ab58
Get further in alliance tests 2021-09-03 12:29:44 +00:00
Las Safin 5c7b2fdc28
Fix devShell 2021-09-03 10:12:38 +00:00
Las Safin 4f266c04eb
Get alliance check toolkit to fail 2021-09-02 22:39:29 +00:00
Las Safin 78db672549
Use Nixpkgs with Alliance 2021-09-02 22:00:29 +00:00
Las Safin 979f97df2f
Include yosys 2021-09-02 09:54:51 +00:00
Las Safin d28ec8b7c4
Add initial code for running alliance checks 2021-09-01 22:30:59 +00:00
Las Safin 55f32e510e
Run unit tests 2021-09-01 18:46:28 +00:00
Las Safin 521863e195
Use OpenMP 2021-09-01 17:39:00 +00:00
Las Safin 953a98b769
Make cgt work a bit more 2021-09-01 17:18:05 +00:00
Las Safin f20ffa02e9
Get oroshi working 2021-09-01 11:13:49 +00:00
Las Safin 227a8f1721
Set CORIOLIS_TOP for crlcore check 2021-09-01 10:03:41 +00:00
Las Safin d4818a6b81
Fix missing import in crlcore 2021-09-01 09:40:23 +00:00
Las Safin 3584ea3ee9
Use pyqt4 4.12.1 2021-09-01 09:31:22 +00:00
Las Safin 2f11506dbf
Try to get Qt support to work 2021-08-31 19:06:30 +00:00
Las Safin c5fdafbf53
Add license for Nix code 2021-08-31 15:50:50 +00:00
Las Safin 36203e5d51
Fix licenses 2021-08-31 15:47:12 +00:00
Las Safin 6beed7504c
crlcore 2021-08-31 15:32:38 +00:00
Las Safin e2475c8332
Add devShells 2021-08-31 14:10:13 +00:00
Las Safin b5b4f0a633
unicorn, tutorial, kite, katabatic, bora 2021-08-29 19:58:17 +00:00
Las Safin eeba236c36
katana 2021-08-29 19:24:14 +00:00
Las Safin 5bbc5b3b2e
etesian, anabatic 2021-08-29 19:21:28 +00:00
Las Safin 7bab1feec5
flute 2021-08-29 19:16:28 +00:00
Las Safin 7661abe6e1
Try to get crlcore working 2021-08-29 18:25:21 +00:00
Las Safin c7df1e6ac9
hurricane 2021-08-29 17:46:28 +00:00
Las Safin 41665edfed
Add generic helper 2021-08-29 17:37:07 +00:00
Las Safin 7105a5aea4
Make vlsisapd accessible through Python! 2021-08-29 15:33:53 +00:00
Las Safin e1975b45ea
Fix linking with boost python 2021-08-29 15:31:41 +00:00