Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 27 21:13
    kleinai commented #788
  • Jun 27 11:09
    kleinai commented #788
  • Jun 27 09:30
    dnltz commented #769
  • Jun 27 09:19
    dnltz edited #788
  • Jun 27 09:18
    dnltz edited #788
  • Jun 27 09:18
    dnltz synchronize #788
  • Jun 27 09:16
    dnltz opened #788
  • Jun 27 07:32
    Dolu1990 commented #785
  • Jun 27 07:31
    Dolu1990 commented #785
  • Jun 27 07:31
    Dolu1990 closed #785
  • Jun 27 07:31

    Dolu1990 on dev

    Fix #785 : When setInlineVerilo… (compare)

  • Jun 25 09:14

    Dolu1990 on dev

    Fix BmbToWishbone burst and bac… (compare)

  • Jun 25 08:48

    Dolu1990 on dev

    Fix symplify cache ? (compare)

  • Jun 24 09:37
    Dolu1990 commented #763
  • Jun 23 20:09
    jonnykl commented #763
  • Jun 23 14:43
    Dolu1990 commented #786
  • Jun 23 13:58
    Dolu1990 commented #784
  • Jun 23 01:34
    kellenwang1017 opened #786
  • Jun 23 01:26
    liuwei9 opened #785
  • Jun 22 16:40
    Dolu1990 commented #783
Mingo
@mingo99
image.png
Dolu1990
@Dolu1990
is there any other referenec to data_addr_1 in the generated verilog file ?
Mingo
@mingo99
no
Dolu1990
@Dolu1990
how many bits is data_addr ?
Mingo
@mingo99
image.png
saahm
@saahm
weird duplication hm
Mingo
@mingo99
yeah,it is so confusing
Dolu1990
@Dolu1990
I can't reproduce the case (at least in dev) :
    val a = B(0, 8 bits)
    val b = B(0, 8 bits)
    val c = a ## b(2, 3 bits)

    val sub = new Component {
      val d = in Bits(11 bits)
    }
    sub.d := c
  wire       [7:0]    a;
  wire       [7:0]    b;
  wire       [10:0]   c;

  unamed sub (
    .d    (c[10:0]  )  //i
  );
  assign a = 8'h0;
  assign b = 8'h0;
  assign c = {a,b[4 : 2]};
Woudl need a self contained example to try it
@mingo99
Mingo
@mingo99
Thanks,I'll try it
Readon
@Readon
I suppose it is all about the data_addr is used as address of memory.
Mingo
@mingo99
Yeah, would you have a solution?
Readon
@Readon
no, it's just a suggestion^^
Jerry Huang
@jjyy-Huang
It's wonderful that SpinalHDL simulation supports VCS now. But there is a question that confuses me. When I simulate an external IP (e.g. Xilinx FIFO) with the Blackbox, how should I add the pre-compiled library to link it? I couldn't find the API mentioned in the documentation. The mapping of synopsys_sim.setup is also not done by just passing the compile parameter via VCSFlags.
korbin
@korbin
is it possible to register the StreamFifo pop valid value without a bubble?
saahm
@saahm
just RegNext?
Dolu1990
@Dolu1990
@jjyy-Huang Can you open a issue on https://github.com/SpinalHDL/SpinalHDL about it ?
I personnaly don't know much about that part of the flow, but others may be able to track the issue on github ^^
@korbin What do you mean by without a bubble ?
1 cycle latency ? or having lower bandwidth ? myFifo.io.pop.stage() isn't good ?
Pu Wang
@pwang7
After I upgraded to 1.7.0, the L"" interpolation of assert message seems not work, what's the new assert message interpolation?
Dolu1990
@Dolu1990

nterpolation of assert message seems not work

Which kind of issue is there ?
scala does not compile ? or Runtime crash or runtime not doing things right ?

saahm
@saahm
Is it possible to have FST instead of VCD for wavetraces? I havent found anything in the documentation yet
Kellen Wang
@kellenwang1017
is it possible to remove a clockdomain.setSyncWith effect?
A.M.
@allexoll

Is it possible to have FST instead of VCD for wavetraces? I havent found anything in the documentation yet

you can do it with withFstWave: https://github.com/SpinalHDL/SpinalHDL/blob/e40a9b01419fc01104e15d73b585c730c7c2fb6f/lib/src/main/scala/spinal/lib/fsm/Example.scala#L645

@saahm
saahm
@saahm
ah cool. nice
thanks!
Pu Wang
@pwang7
Screenshot from 2022-05-20 21-00-29.png
If the assert message is L"...", then compiler error: Cannot resolve overloaded method 'assert'
A.M.
@allexoll
is string interpolation not with s”…”
println(s"Hello, $name") // Hello, James ?
A.M.
@allexoll
ah fair enough for hdl reports my bad
I don’t know then
Dolu1990
@Dolu1990
@pwang7 assert(False, L"miaou $False", FAILURE) is fine for me
Can you provide a full example ?
(in copy pastable code) ^^
You can use
```scala
your scala code here
```
Pu Wang
@pwang7

@pwang7 assert(False, L"miaou $False", FAILURE) is fine for me

I prepared a simple example to illustrate the compiler error of the L"" interpolate in assert:

https://github.com/pwang7/SpinalAssertDemo

after clone the repo, just run ./run.sh to compile and it shows the error:

./run.sh 
+ export MILL_VERSION=0.10.3
+ [ ! -f mill ]
+ MILL=./mill --no-server
+ ./mill --no-server version
[1/1] version 
0.10.3
+ mkdir -p ./rtl
+ ./mill --no-server _.runMain AssertDemo
[31/42] demo.compile 
[info] compiling 1 Scala source to /home/pwang/Downloads/code/SpinalAssertDemo/out/demo/compile.dest/classes ...
[error] /home/pwang/Downloads/code/SpinalAssertDemo/demo/src/demo.scala:12:3: overloaded method assert with alternatives:
[error]   (assertion: spinal.core.Bool,message: Seq[Any])(implicit loc: spinal.idslplugin.Location): spinal.core.internals.AssertStatement <and>
[error]   (assertion: spinal.core.Bool,message: String)(implicit loc: spinal.idslplugin.Location): spinal.core.internals.AssertStatement <and>
[error]   (assertion: spinal.core.Bool,severity: spinal.core.AssertNodeSeverity)(implicit loc: spinal.idslplugin.Location): spinal.core.internals.AssertStatement <and>
[error]   (assertion: Boolean,message: => Any)(implicit loc: spinal.idslplugin.Location): Unit
[error]  cannot be applied to (spinal.core.Bool, spinal.core.LiteralBuilder#LList)
[error]   assert(False, L"${REPORT_TIME} time: ${io.input.payload}")
[error]   ^
[error] one error found
1 targets failed
demo.compile Compilation failed
Kellen Wang
@kellenwang1017
how to send stimulus to TriState type of io in doSim?
Dongwei939
@Dongwei939
hello, if anyone can tell me how can i joint two signals? such as { } in verilog
jijingg
@jijingg
e := (a,b,c,d)
Dongwei939
@Dongwei939
thank you!!
jijingg
@jijingg
(a,b,c,d) := e
Dongwei939
@Dongwei939
thank you!
Dongwei939
@Dongwei939
type mismatch;
[error] found : spinal.core.UInt
[error] required: (Any, Any)
[error] pam4_c_data := (io.sink_data,io.sink_data)
can you tell me why?Please~
A.M.
@allexoll
EstablishedHDLs-FCCM.pdf
Dolu1990
@Dolu1990
@Dongwei939 what are pam4_c_data and io.sink_data