[libre-riscv-dev] Routing a first nmigen disign with Corilis

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Feb 10 21:11:46 GMT 2020


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Mon, Feb 10, 2020 at 8:30 PM Jean-Paul Chaput
<Jean-Paul.Chaput at lip6.fr> wrote:
>
> On Mon, 2020-02-10 at 16:38 +0000, Luke Kenneth Casson Leighton wrote:
> > On Mon, Feb 10, 2020 at 4:05 PM Jean-Paul Chaput
> > <Jean-Paul.Chaput at lip6.fr> wrote:
> > >
> > >
> > > Hello Tobias,
> > >
> > > I'm a little surprised that you mention Mauka, Knik & Kite, as they should
> > > no longer in the doc. They are replaced by Etesian/Coloquinte and Katana.
> > >
> > > Did you use the "devel" branch ? If not, please do so. The "master" is
> > > terribly late (and the new repository is https://gitlab.lip6.fr/jpc/coriolis.git)
> >
> > we've got this far:
> > https://libre-riscv.org/HDL_workflow/coriolis2/
> > and it does include "git checkout devel"
> >
> > tobias did you follow that instruction?
> >
> > > Alongside with that, and my apologies for the doc to be unclear, you
> > > will need Alliance and alliance-check-toolkit which are:
> > >
> > > https://gitlab.lip6.fr/jpc/alliance.git
> > > https://gitlab.lip6.fr/jpc/alliance-check-toolkit.git
> >
> > i will add these to
> > https://libre-riscv.org/HDL_workflow/coriolis2/
> >
> > > Alliance provide additional CAD tools and some cells libraries.
> > > Alliance Check Toolkit gives you examples and a complete Makefile
> > > architecture to automate designs.
> > >
> > > You can extract from the Dockerfile in bootstrap/docker/debian9
> > > the scripts to install & rebuild in your schroot environement.
> > > (also take allianceInstaller.sh and socInstaller.py).
> >
> >
> >
> > > Basically you are correct, as you have Verilog you can directly
> > > enter Yosys (providing a cell library under the form of ".lib").
> > > Yosys do not "convert" your design, it synthesize it using the
> > > standard cells as building block. Then you can place (Etesian)
> > > then route (Katana). You will get a *symbolic* layout that is
> > > to be converted in real, but that operation needs to acces the
> > > technology which is under NDA, so it is delegated to Staf
> > > Verhaegen.
> >
> > that bit we will do later: the goal here is to do something - anything
> > - that allows us to have some reasonably accurate time-estimates for
> > place-and-route of libresoc modules (any libresoc modules) once
> > "initial hurdles are completed and documented".
> >
> > so we just need "something" - not under NDA - to get started.  the
> > problem is, we don't know what we don't know, so don't know how to
> > ask, or find what we don't know we need to ask or not ask, if you know
> > what i mean :)
> >
> > is there a chip - any chip - any project template, any project example
> > - which "works", from start to finish (excluding NDA'd tools), using
> > any geometry (180nm is better), that we can look at, compile
> > unmodified, so that we can document how to do that?  then, from there,
> > move on to looking at replacing its verilog code with our own
> > (actually .il files from yosys more like, but that's another story)?
>
>   You must create a configuration for alliance-check-toolkit:
>
>     alliance-check-toolkit/etc/mk/users.d/user-LOGIN.mk
>
>     where you define where the various tools are installed
>     (look in other ones to have an idea).
>
>   You can try the ARM in alliance-check-toolkit:
>
>     > cd alliance-check-toolkit/benchsARM/cmos/
>     > make lvx

ok that's happily running....

>     Should take about five minutes. It's symbolic, but should be
>     a configuration compatible with 180nm. To actually see the
>     results:
>
>     > make cgt
>
>     Then "File -> Open", "arm_chip_cts_r"
>
>     To have a very rough approximation, you can say that one lambda
>     equal 180nm.

will let you know how it goes... aw poop.

        ---> Extract symbolic figure arm_chip_cts_r
        <--- done !

        ---> Total extracted capacitance
        <--- 0.0pF
MBK_SEPAR='_'; export MBK_SEPAR; /home/lkcl/alliance/install/bin/lvx
       vst al arm_chip_cts_r arm_chip_cts_r_ext -f

                       @@@@@@      @@@@    @@@ @@@@   @@@@
                         @@         @@      @   @@     @
                         @@         @@      @    @@   @
                         @@          @@    @      @@ @
                         @@          @@    @       @@
                         @@           @@  @        @@
                         @@           @@  @        @@@
                         @@            @@@        @  @@
                         @@      @     @@@       @    @@
                         @@     @       @       @      @@
                       @@@@@@@@@@       @      @@@    @@@@

                             Gate Netlist Comparator

                   Alliance CAD System 5.0,            lvx 1.5
                   Copyright (c) 1992-2020,     ASIM/LIP6/UPMC
                   E-mail        : alliance-users at asim.lip6.fr



Segmentation fault
mk/alliance.mk:53: recipe for target 'lvx-arm_chip_cts_r' failed
make: *** [lvx-arm_chip_cts_r] Error 139

(coriolis2)lkcl at fizzy:~/alliance-check-toolkit/etc/mk/users.d$ cat user-lkcl.mk
# Where lkcl gets his tools installeds.

 #export CORIOLIS_TOP  =
$(HOME)/coriolis-2.x/$(BUILD_VARIANT)$(LIB_SUFFIX_)/$(BUILD_TYPE_DIR)/install
 #export ALLIANCE_TOP  = $(HOME)/alliance/$(BUILD_VARIANT)$(LIB_SUFFIX_)/install
 export CHECK_TOOLKIT = $(HOME)/alliance-check-toolkit
 export YOSYS_TOP     = /usr

(CORIOLIS_TOP and ALLIANCE_TOP are already defined from the coriolisEnv)

(coriolis2)lkcl at fizzy:~/alliance-check-toolkit/benchs/ARM/cmos$
MBK_SEPAR='_'; export MBK_SEPAR
(coriolis2)lkcl at fizzy:~/alliance-check-toolkit/benchs/ARM/cmos$ gdb
/home/lkcl/alliance/install/bin/lvx
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/lkcl/alliance/install/bin/lvx...done.
(gdb) set args  vst al arm_chip_cts_r arm_chip_cts_r_ext -f
(gdb) run
Starting program: /home/lkcl/alliance/install/bin/lvx vst al
arm_chip_cts_r arm_chip_cts_r_ext -f

                       @@@@@@      @@@@    @@@ @@@@   @@@@
                         @@         @@      @   @@     @
                         @@         @@      @    @@   @
                         @@          @@    @      @@ @
                         @@          @@    @       @@
                         @@           @@  @        @@
                         @@           @@  @        @@@
                         @@            @@@        @  @@
                         @@      @     @@@       @    @@
                         @@     @       @       @      @@
                       @@@@@@@@@@       @      @@@    @@@@

                             Gate Netlist Comparator

                   Alliance CAD System 5.0,            lvx 1.5
                   Copyright (c) 1992-2020,     ASIM/LIP6/UPMC
                   E-mail        : alliance-users at asim.lip6.fr




Program received signal SIGSEGV, Segmentation fault.
mvl_y_parse () at ../../../alliance/src/mbk/src/mvl_scomp_y.y:1546
1546                        losig_pnt = losig_pnt->NEXT;
(gdb) where
#0  mvl_y_parse () at ../../../alliance/src/mbk/src/mvl_scomp_y.y:1546
#1  0x00007ffff7bb8107 in vhdlloadlofig (
    pt_lofig=pt_lofig at entry=0x55555575b4c0,
    figname=figname at entry=0x55555575b4a0 "arm_chip_cts_r",
    mode=mode at entry=65 'A') at ../../../alliance/src/mbk/src/mvl_parse.c:92
#2  0x00007ffff7b9af23 in loadlofig (ptfig=ptfig at entry=0x55555575b4c0,
    name=name at entry=0x55555575b4a0 "arm_chip_cts_r", mode=mode at entry=65 'A')
    at ../../../alliance/src/mbk/src/mbk_lo_util.c:1373
#3  0x00007ffff7b9aff1 in getlofig (fname=<optimized out>,
    mode=<optimized out>) at ../../../alliance/src/mbk/src/mbk_lo_util.c:84
#4  0x0000555555557967 in loadfigure (format=0x7fffffffeaaf "vst",
    figname=0x7fffffffeab6 "arm_chip_cts_r", flag_flatten=<optimized out>)
    at ../../../alliance/src/lvx/src/lvx.c:1615
#5  0x000055555555529d in main (argc=6, argv=0x7fffffffe848)
    at ../../../alliance/src/lvx/src/lvx.c:1786
(gdb)

(gdb) print losig_pnt
$1 = <optimized out>
(gdb) print losig_pnt->NEXT;
Invalid character ';' in expression.
(gdb) print losig_pnt->NEXT
value has been optimized out
(gdb)

hmmm...

$ strace -o log.txt /home/lkcl/alliance/install/bin/lvx          vst
al arm_chip_cts_r arm_chip_cts_r_ext -f

hmm... last thing: opens arm_chips_cts_r_ext.vst (attached).



>   No problem. You're welcome.
>
>   The doc is mostly for people who already have a background in ASICs,
>   I will try to patch something from my lecture in VLSI to help people
>   to orient themselves.

i know "what" to expect, from a high level, if you know what i mean.
plus i've done PCB layout.  and gate-level design.  and electronics
circuits.  and, and, and...

>   The up-to-date documentation is supplied directly in the Coriolis
>   repository:
>
>      coriolis/documentation/output/index.html
>
>      The links toward the doxygen doc will be invalid a this point,
>      but everython else works.
>
>    After installation, it is put in:
>
>      coriolis-2.x/Linux.x86_64/Release.Shared/install/share/doc/coriolis2/en/html/index.html

oooo.... coriolis-2.x/Linux.x86_64/Release.Shared/install/share/doc/coriolis2/en/html/main/PythonTutorial/index.html

niiice!  that's going in the notes...

l.
-------------- next part --------------
execve("/home/lkcl/alliance/install/bin/lvx", ["/home/lkcl/alliance/install/bin/"..., "vst", "al", "arm_chip_cts_r", "arm_chip_cts_r_ext", "-f"], [/* 18 vars */]) = 0
brk(NULL)                               = 0x55e5ad0af000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/tls/x86_64/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/tls/x86_64", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/tls/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/tls", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/x86_64/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/x86_64", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib", {st_mode=S_IFDIR|0755, st_size=3276, ...}) = 0
open("/home/lkcl/alliance/install/lib/tls/x86_64/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/alliance/install/lib/tls/x86_64", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/tls/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/alliance/install/lib/tls", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/x86_64/libMlu.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/lkcl/alliance/install/lib/x86_64", 0x7fff42bf9b90) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libMlu.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\227\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=912528, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f82fb70b000
mmap(NULL, 2391592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fb2a2000
mprotect(0x7f82fb2e3000, 2093056, PROT_NONE) = 0
mmap(0x7f82fb4e2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7f82fb4e2000
mmap(0x7f82fb4e4000, 24104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f82fb4e4000
close(3)                                = 0
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libMlo.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libMlo.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\31\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=95432, ...}) = 0
mmap(NULL, 2130384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fb099000
mprotect(0x7f82fb0a1000, 2093056, PROT_NONE) = 0
mmap(0x7f82fb2a0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f82fb2a0000
close(3)                                = 0
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libMut.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libMut.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\215\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=202016, ...}) = 0
mmap(NULL, 2313672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fae64000
mprotect(0x7f82fae75000, 2093056, PROT_NONE) = 0
mmap(0x7f82fb074000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7f82fb074000
mmap(0x7f82fb07d000, 114120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f82fb07d000
close(3)                                = 0
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libRcn.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libRcn.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\31\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=109816, ...}) = 0
mmap(NULL, 2134456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fac5a000
mprotect(0x7f82fac63000, 2093056, PROT_NONE) = 0
mmap(0x7f82fae62000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f82fae62000
close(3)                                = 0
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY|O_CLOEXEC)   = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56221, ...}) = 0
mmap(NULL, 56221, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f82fb6fd000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fa956000
mprotect(0x7f82faa59000, 2093056, PROT_NONE) = 0
mmap(0x7f82fac58000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f82fac58000
close(3)                                = 0
open("/home/lkcl/coriolis-2.x/Linux.x86_64/Release.Shared/install/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY|O_CLOEXEC)   = -1 ENOENT (No such file or directory)
open("/home/lkcl/alliance/install/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f82fa5b7000
mprotect(0x7f82fa74c000, 2097152, PROT_NONE) = 0
mmap(0x7f82fa94c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f82fa94c000
mmap(0x7f82fa952000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f82fa952000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f82fb6fb000
arch_prctl(ARCH_SET_FS, 0x7f82fb6fc1c0) = 0
mprotect(0x7f82fa94c000, 16384, PROT_READ) = 0
mprotect(0x7f82fac58000, 4096, PROT_READ) = 0
mprotect(0x7f82fb074000, 4096, PROT_READ) = 0
mprotect(0x7f82fae62000, 4096, PROT_READ) = 0
mprotect(0x7f82fb2a0000, 4096, PROT_READ) = 0
mprotect(0x7f82fb4e2000, 4096, PROT_READ) = 0
mprotect(0x55e5acad7000, 4096, PROT_READ) = 0
mprotect(0x7f82fb70d000, 4096, PROT_READ) = 0
munmap(0x7f82fb6fd000, 56221)           = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 16), ...}) = 0
brk(NULL)                               = 0x55e5ad0af000
brk(0x55e5ad0d0000)                     = 0x55e5ad0d0000
write(1, "\n", 1)                       = 1
write(1, "                       @@@@@@   "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                         @@     "..., 59) = 59
write(1, "                       @@@@@@@@@"..., 59) = 59
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 127
lseek(3, -71, SEEK_CUR)                 = 56
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 71
close(3)                                = 0
write(1, "\n", 1)                       = 1
write(1, "                             Gat"..., 53) = 53
write(1, "\n", 1)                       = 1
write(1, "                   Alliance CAD "..., 63) = 63
write(1, "                   Copyright (c)"..., 63) = 63
write(1, "                   E-mail       "..., 63) = 63
write(1, "\n", 1)                       = 1
rt_sigaction(SIGTERM, {sa_handler=0x55e5ac8d36a0, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f82fa5ea060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x7f82fae6e940, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f82fa5ea060}, {sa_handler=0x55e5ac8d36a0, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f82fa5ea060}, 8) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x7f82fae6d820, sa_mask=[CHLD], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f82fa5ea060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
write(1, "\n\n", 2)                     = 2
open("./arm_chip_cts_r.vst", O_RDONLY)  = 3
ioctl(3, TCGETS, 0x7fff42bf9280)        = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=47786, ...}) = 0
read(3, "\n-- ============================"..., 8192) = 8192
brk(0x55e5ad0f1000)                     = 0x55e5ad0f1000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffffad0c71a0} ---
+++ killed by SIGSEGV +++


More information about the libre-riscv-dev mailing list