soclayout.git
3 years agoupdate libresoc.v to use sys_clk for main core
Luke Kenneth Casson Leighton [Thu, 3 Jun 2021 15:07:27 +0000 (15:07 +0000)]
update libresoc.v to use sys_clk for main core

3 years agochange ref to ref_v in PLL (keyword)
Luke Kenneth Casson Leighton [Thu, 3 Jun 2021 15:07:03 +0000 (15:07 +0000)]
change ref to ref_v in PLL (keyword)

3 years agoset other nets to input in fake 4k SRAM cell
Luke Kenneth Casson Leighton [Thu, 27 May 2021 13:59:36 +0000 (13:59 +0000)]
set other nets to input in fake 4k SRAM cell

3 years agoadd TODO into tsmc_c018 coriolis2 settings.py
Luke Kenneth Casson Leighton [Thu, 27 May 2021 13:53:17 +0000 (13:53 +0000)]
add TODO into tsmc_c018 coriolis2 settings.py

3 years agoupdate libresoc.v
Luke Kenneth Casson Leighton [Thu, 27 May 2021 13:52:56 +0000 (13:52 +0000)]
update libresoc.v

3 years agoset fake-mem LibreSOCMem output q as a Net Output
Luke Kenneth Casson Leighton [Thu, 27 May 2021 13:52:36 +0000 (13:52 +0000)]
set fake-mem LibreSOCMem output q as a Net Output

3 years agoset fake PLL Master Cell directions explicitly
Luke Kenneth Casson Leighton [Thu, 27 May 2021 13:50:12 +0000 (13:50 +0000)]
set fake PLL Master Cell directions explicitly

3 years agoclk_sel_i in TestIssuer was one bit not 2
Luke Kenneth Casson Leighton [Wed, 26 May 2021 15:13:00 +0000 (15:13 +0000)]
clk_sel_i in TestIssuer was one bit not 2

3 years agoremove sram4k wb err (unused anyway)
Luke Kenneth Casson Leighton [Wed, 26 May 2021 14:07:13 +0000 (14:07 +0000)]
remove sram4k wb err (unused anyway)

3 years agoappears to be missing libresoc from NETLISTS in Makefile
Luke Kenneth Casson Leighton [Wed, 26 May 2021 13:46:01 +0000 (13:46 +0000)]
appears to be missing libresoc from NETLISTS in Makefile

3 years agoattempt better grid alignment for fake cells
Luke Kenneth Casson Leighton [Tue, 25 May 2021 15:01:46 +0000 (15:01 +0000)]
attempt better grid alignment for fake cells

3 years agochange cell sizes to grid layout (?)
Luke Kenneth Casson Leighton [Tue, 25 May 2021 12:01:44 +0000 (12:01 +0000)]
change cell sizes to grid layout (?)

3 years agoincrease not-connected pads by one
Luke Kenneth Casson Leighton [Tue, 25 May 2021 11:45:59 +0000 (11:45 +0000)]
increase not-connected pads by one

3 years agoadd fake pll symlink
Luke Kenneth Casson Leighton [Tue, 25 May 2021 11:39:00 +0000 (11:39 +0000)]
add fake pll symlink

3 years agorename pll out signal to out_v in "fake" pll cell
Luke Kenneth Casson Leighton [Tue, 25 May 2021 11:37:47 +0000 (11:37 +0000)]
rename pll out signal to out_v in "fake" pll cell

3 years agorename PLL out to out_v in test_issuer
Luke Kenneth Casson Leighton [Tue, 25 May 2021 11:32:58 +0000 (11:32 +0000)]
rename PLL out to out_v in test_issuer

3 years agorename pll blackbox out to out_v
Luke Kenneth Casson Leighton [Tue, 25 May 2021 11:30:07 +0000 (11:30 +0000)]
rename pll blackbox out to out_v

3 years agodisappearing signal from pll, attempt to get it back
Luke Kenneth Casson Leighton [Mon, 24 May 2021 17:45:12 +0000 (17:45 +0000)]
disappearing signal from pll, attempt to get it back

3 years agoremove "*" net from fake-pll cell, it ends up in the vst file
Luke Kenneth Casson Leighton [Mon, 24 May 2021 17:35:37 +0000 (17:35 +0000)]
remove "*" net from fake-pll cell, it ends up in the vst file

3 years agoround to 0.135 cell grid?
Luke Kenneth Casson Leighton [Mon, 24 May 2021 17:27:40 +0000 (17:27 +0000)]
round to 0.135 cell grid?

3 years agorename cell to "real_pll" to avoid conflict with cell also named "pll"
Luke Kenneth Casson Leighton [Mon, 24 May 2021 17:25:35 +0000 (17:25 +0000)]
rename cell to "real_pll" to avoid conflict with cell also named "pll"

3 years agoadd dummy/fake/ghost PLL blackbox cell
Luke Kenneth Casson Leighton [Mon, 24 May 2021 17:00:20 +0000 (17:00 +0000)]
add dummy/fake/ghost PLL blackbox cell
to nsxlib experiments9.  based on the dummy/fake/ghost/symbolic
LibreSOCMem previously created
the cell is completely empty, the only important thing is the *existence*
of the cell and its I/O connections

3 years agorename PLL pad names
Luke Kenneth Casson Leighton [Sat, 22 May 2021 12:06:24 +0000 (12:06 +0000)]
rename PLL pad names

3 years agocorrect PLL names
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:59:32 +0000 (11:59 +0000)]
correct PLL names

3 years agore-add 4k sram
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:44:49 +0000 (11:44 +0000)]
re-add 4k sram

3 years agoannoying rename of pll analog pin
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:36:16 +0000 (11:36 +0000)]
annoying rename of pll analog pin

3 years agomanually rename ls180sram4k module to ls180
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:15:36 +0000 (11:15 +0000)]
manually rename ls180sram4k module to ls180

3 years agosubmodule update
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:03:08 +0000 (11:03 +0000)]
submodule update

3 years agoupdate PLL to use submodule Instance
Luke Kenneth Casson Leighton [Sat, 22 May 2021 11:02:59 +0000 (11:02 +0000)]
update PLL to use submodule Instance

3 years agodo an SRAM search by looking for matching along the path
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 17:47:47 +0000 (17:47 +0000)]
do an SRAM search by looking for matching along the path
goodbye explicit yosys ids!

3 years ago4k sram build
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 17:17:54 +0000 (17:17 +0000)]
4k sram build

3 years agouse "make view" not "make vst"
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 17:05:18 +0000 (17:05 +0000)]
use "make view" not "make vst"

3 years agoadd fake LibreSOCMem library to freepdk_c4m45
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 12:40:09 +0000 (12:40 +0000)]
add fake LibreSOCMem library to freepdk_c4m45

3 years agoadd symlink to "fake" LibreSOCMem
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 12:35:56 +0000 (12:35 +0000)]
add symlink to "fake" LibreSOCMem

3 years agoenabling experiments9 new LibreSOCMem fake blackbox SRAM
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 11:42:30 +0000 (11:42 +0000)]
enabling experiments9 new LibreSOCMem fake blackbox SRAM

3 years agousing renamed (single) spblock_512w64b8w
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 10:55:24 +0000 (10:55 +0000)]
using renamed (single) spblock_512w64b8w

3 years agousing new single spblock_512xxx in experiments9
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 10:54:34 +0000 (10:54 +0000)]
using new single spblock_512xxx in experiments9

3 years agoadd complete series of pins onto fake SRAM
Luke Kenneth Casson Leighton [Fri, 30 Apr 2021 10:51:11 +0000 (10:51 +0000)]
add complete series of pins onto fake SRAM

3 years agofirst experiment creating a LibreSOCMem library with a cell real_mem
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 18:40:50 +0000 (18:40 +0000)]
first experiment creating a LibreSOCMem library with a cell real_mem
based on FlexLib

3 years agocreate function which pre-creates the blackbox cells
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 17:29:01 +0000 (17:29 +0000)]
create function which pre-creates the blackbox cells
use it to create createPLLBlackbox, not called yet

3 years agoname everything back to spblock_512w64b8w now that missing blackbox
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 17:22:57 +0000 (17:22 +0000)]
name everything back to spblock_512w64b8w now that missing blackbox
cell issue has been found

3 years agorename spblock modules to just straight spblock_512w64b8w after
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 17:01:18 +0000 (17:01 +0000)]
rename spblock modules to just straight spblock_512w64b8w after
JP sorted blackbox module loading

3 years agoalso add createSRAMblocks to freepdk_c4m45
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 16:57:33 +0000 (16:57 +0000)]
also add createSRAMblocks to freepdk_c4m45

3 years agoMerge branch 'master' of ssh://libre-riscv.org:922/soclayout
Jean-Paul Chaput [Wed, 28 Apr 2021 14:07:47 +0000 (16:07 +0200)]
Merge branch 'master' of ssh://libre-riscv.org:922/soclayout

3 years agoManagement of SRAMs block at Coriolis devel.
Jean-Paul Chaput [Wed, 28 Apr 2021 14:02:13 +0000 (16:02 +0200)]
Management of SRAMs block at Coriolis devel.

Sub block instanciating the real SRAM are added on the fly to the
Yosys blackboxes spblock512w64b8w_X. Must be done *before* ls180
loading.

3 years agoadd vbe spblock models to non_generated and build scripts
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 10:15:41 +0000 (10:15 +0000)]
add vbe spblock models to non_generated and build scripts

3 years agoshrinking regfile sizes some more
Luke Kenneth Casson Leighton [Wed, 28 Apr 2021 10:15:13 +0000 (10:15 +0000)]
shrinking regfile sizes some more

3 years agoadd blackbox attribute to spblock512*.v
Luke Kenneth Casson Leighton [Tue, 27 Apr 2021 16:21:49 +0000 (16:21 +0000)]
add blackbox attribute to spblock512*.v

3 years agoalso add blackboxes spblock512* etc.
Luke Kenneth Casson Leighton [Tue, 27 Apr 2021 11:56:31 +0000 (11:56 +0000)]
also add blackboxes spblock512* etc.

3 years agoadd copying over of spblock*.v and pll.v to build scripts
Luke Kenneth Casson Leighton [Tue, 27 Apr 2021 10:54:49 +0000 (10:54 +0000)]
add copying over of spblock*.v and pll.v to build scripts

3 years agosubmodule update
Luke Kenneth Casson Leighton [Sun, 25 Apr 2021 16:30:50 +0000 (16:30 +0000)]
submodule update

3 years agoCorrect setup for experiment9/freepdk_c4m45, restrict to 6 metals.
Jean-Paul Chaput [Sun, 25 Apr 2021 11:16:57 +0000 (13:16 +0200)]
Correct setup for experiment9/freepdk_c4m45, restrict to 6 metals.

3 years agoupdate submodule
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 20:47:15 +0000 (20:47 +0000)]
update submodule

3 years agocleanup mksyms.sh to include FreePDK_C4M45
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 13:55:14 +0000 (13:55 +0000)]
cleanup mksyms.sh to include FreePDK_C4M45

3 years agoadd export of PDKMASTER_TOP to experiments9/freepdk_c4m45
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 13:53:09 +0000 (13:53 +0000)]
add export of PDKMASTER_TOP to experiments9/freepdk_c4m45

3 years agocorrect relative link to FreePDK45_c4m45, use submodule
Luke Kenneth Casson Leighton [Sat, 24 Apr 2021 13:43:30 +0000 (13:43 +0000)]
correct relative link to FreePDK45_c4m45, use submodule
add note about remembering to run git submodule

3 years agoMerge branch 'master' of ssh://libre-riscv.org:922/soclayout
Jean-Paul Chaput [Sat, 24 Apr 2021 11:35:30 +0000 (13:35 +0200)]
Merge branch 'master' of ssh://libre-riscv.org:922/soclayout

3 years agoForgot to update experiments9 doDesign file for FreePDK 45.
Jean-Paul Chaput [Sat, 24 Apr 2021 11:34:35 +0000 (13:34 +0200)]
Forgot to update experiments9 doDesign file for FreePDK 45.

3 years agoKeep in synch with the latest Coriolis. SRAM models in lowercases.
Jean-Paul Chaput [Sat, 24 Apr 2021 11:31:29 +0000 (13:31 +0200)]
Keep in synch with the latest Coriolis. SRAM models in lowercases.

3 years agoCorrect settings for experiment10_verilog & FreePDK45.
Jean-Paul Chaput [Sat, 24 Apr 2021 11:29:09 +0000 (13:29 +0200)]
Correct settings for experiment10_verilog & FreePDK45.

3 years agomake placement of SRAMs optional, and PLL as well, in experiment9 freepdk45
Luke Kenneth Casson Leighton [Thu, 22 Apr 2021 15:15:07 +0000 (15:15 +0000)]
make placement of SRAMs optional, and PLL as well, in experiment9 freepdk45

3 years agomanually comment out pll and sdcard pins
Luke Kenneth Casson Leighton [Tue, 20 Apr 2021 10:50:52 +0000 (10:50 +0000)]
manually comment out pll and sdcard pins

3 years agoexperiments10_verilog/freepdk_c4m45: Add link for add.py.
Staf Verhaegen [Mon, 19 Apr 2021 15:28:20 +0000 (17:28 +0200)]
experiments10_verilog/freepdk_c4m45: Add link for add.py.

3 years agoTop layer -> metal6
Staf Verhaegen [Mon, 19 Apr 2021 14:50:11 +0000 (16:50 +0200)]
Top layer -> metal6

3 years agoexperiments9/freepdk_c4m45: Reduce core size.
Staf Verhaegen [Tue, 13 Apr 2021 07:39:37 +0000 (09:39 +0200)]
experiments9/freepdk_c4m45: Reduce core size.

With a core size of 1.5x1.5mm the effective space margin is 20%.

3 years agoadd SPBlock512 instance generator
Luke Kenneth Casson Leighton [Mon, 19 Apr 2021 18:10:35 +0000 (18:10 +0000)]
add SPBlock512 instance generator

3 years agocode-comments
Luke Kenneth Casson Leighton [Mon, 19 Apr 2021 17:38:27 +0000 (17:38 +0000)]
code-comments

3 years agoadd two SRAMs, document how to do more
Luke Kenneth Casson Leighton [Mon, 19 Apr 2021 17:34:30 +0000 (17:34 +0000)]
add two SRAMs, document how to do more

3 years agoargh, found the blackbox problem: yosys is "doing the right thing" and
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 23:30:08 +0000 (23:30 +0000)]
argh, found the blackbox problem: yosys is "doing the right thing" and
identifying spblock as a cell (there are 4 used, therefore it gets identified
as a cell).
also because the blackbox is empty, yosys is optimising it out.
therefore, solution: put something (q = d) into the blackbox, and make
4 each with different names.
yes, it is awful, but it works

3 years agotry renaming spblock without the underscore
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 22:37:50 +0000 (22:37 +0000)]
try renaming spblock without the underscore

3 years agotry changing layout of blackbox spblock_512w64b8w
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 22:34:07 +0000 (22:34 +0000)]
try changing layout of blackbox spblock_512w64b8w

3 years agoexperimenting with blackboxes
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 20:51:26 +0000 (20:51 +0000)]
experimenting with blackboxes

3 years agorename spblock_512w64b8w, and vco_test_ana for pll
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 20:43:31 +0000 (20:43 +0000)]
rename spblock_512w64b8w, and vco_test_ana for pll

3 years agorename blackboxes to lowercase, spblock_512w64b8w, pll
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 20:20:50 +0000 (20:20 +0000)]
rename blackboxes to lowercase, spblock_512w64b8w, pll

3 years agoupdate ls180 sram4k
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 20:19:48 +0000 (20:19 +0000)]
update ls180 sram4k

3 years agoadd yosys BLACKBOX SPBlock_512W64B8W - still blif2vst.py complains
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 13:51:46 +0000 (13:51 +0000)]
add yosys BLACKBOX SPBlock_512W64B8W - still blif2vst.py complains

3 years agomust use VST_FLAGS uniquify uppercase
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 13:39:42 +0000 (13:39 +0000)]
must use VST_FLAGS uniquify uppercase

3 years agosort out adding SPBlock_512 SRAM verilog to ls180
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 13:34:22 +0000 (13:34 +0000)]
sort out adding SPBlock_512 SRAM verilog to ls180

3 years agoupdate tsmc_018 4k build script
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:55:53 +0000 (10:55 +0000)]
update tsmc_018 4k build script

3 years agouse correct arguments to litex build to create 4k srams sigh
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:53:42 +0000 (10:53 +0000)]
use correct arguments to litex build to create 4k srams sigh

3 years agorename ls180sram4k to ls180
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:30:01 +0000 (10:30 +0000)]
rename ls180sram4k to ls180

3 years agoadd full core variant including 4k sram of ls180
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:28:19 +0000 (10:28 +0000)]
add full core variant including 4k sram of ls180

3 years agoupdate libresoc.v, c4m-jtag fsm was renamed
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:27:10 +0000 (10:27 +0000)]
update libresoc.v, c4m-jtag fsm was renamed

3 years agoupdate libresoc.v, c4m-jtag fsm was renamed
Luke Kenneth Casson Leighton [Sun, 18 Apr 2021 10:26:57 +0000 (10:26 +0000)]
update libresoc.v, c4m-jtag fsm was renamed

3 years agoadd an SRAM and wishbone to add test (makes it bigger)
Luke Kenneth Casson Leighton [Wed, 14 Apr 2021 19:29:22 +0000 (19:29 +0000)]
add an SRAM and wishbone to add test (makes it bigger)
also enable HFNS.  this to test cocotb-ghdl

3 years agoconnect up boundary scan to inputs/outputs
Luke Kenneth Casson Leighton [Wed, 14 Apr 2021 10:04:31 +0000 (10:04 +0000)]
connect up boundary scan to inputs/outputs

3 years agosubmodule update
Luke Kenneth Casson Leighton [Tue, 13 Apr 2021 18:52:49 +0000 (18:52 +0000)]
submodule update

3 years agouse METAL10 for topRoutingLayer
Luke Kenneth Casson Leighton [Tue, 13 Apr 2021 18:52:42 +0000 (18:52 +0000)]
use METAL10 for topRoutingLayer

3 years agowhoops forgot settings.py
Luke Kenneth Casson Leighton [Tue, 13 Apr 2021 13:50:45 +0000 (13:50 +0000)]
whoops forgot settings.py

3 years agosubmodule update
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 22:34:52 +0000 (22:34 +0000)]
submodule update

3 years agoset routingGauge manually
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 22:34:37 +0000 (22:34 +0000)]
set routingGauge manually

3 years agoenable HFNS in adder
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 18:27:51 +0000 (18:27 +0000)]
enable HFNS in adder

3 years agoinclude (but do not use) FreePDK45 in experiments10
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 18:00:29 +0000 (18:00 +0000)]
include (but do not use) FreePDK45 in experiments10

3 years agodifferent FreePDK45 experiments10 chip size
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 16:58:07 +0000 (16:58 +0000)]
different FreePDK45 experiments10 chip size

3 years agoexperimentation to get experiment10_verilog work with FreePDK
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 16:44:51 +0000 (16:44 +0000)]
experimentation to get experiment10_verilog work with FreePDK

3 years agoadd FreePDK45 experiments10_verilog doDesign.py
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 16:33:21 +0000 (16:33 +0000)]
add FreePDK45 experiments10_verilog doDesign.py

3 years agoadd FreePDK45 variant of experiments10_verilog
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 16:15:38 +0000 (16:15 +0000)]
add FreePDK45 variant of experiments10_verilog

3 years agoupdate PLL signal output names
Luke Kenneth Casson Leighton [Mon, 12 Apr 2021 14:06:53 +0000 (14:06 +0000)]
update PLL signal output names

3 years agodoDesign.py: Disable SRAM placement
Staf Verhaegen [Mon, 12 Apr 2021 11:24:54 +0000 (13:24 +0200)]
doDesign.py: Disable SRAM placement

3 years agoReduce core size.
Staf Verhaegen [Mon, 12 Apr 2021 11:24:28 +0000 (13:24 +0200)]
Reduce core size.

Using 45nm cells makes the design Pad limited.