00:00
tpb has quit [Remote host closed the connection]
00:00
tpb has joined #yosys
00:43
lutsabound has joined #yosys
01:13
Degi_ has joined #yosys
01:15
Degi has quit [Ping timeout: 265 seconds]
01:15
Degi_ is now known as Degi
02:33
cr1901_modern has quit [Quit: Leaving.]
02:34
cr1901_modern has joined #yosys
02:48
<
promach3 >
yosys does not support $ceil ?
02:52
<
promach3 >
ERROR: Found error in internal cell \ddr3_memory_controller.$ge$ddr3_memory_controller.sv:1061$73 ($ge) at kernel/rtlil.cc:991:
03:30
aquijoule_ has joined #yosys
03:32
richbridger has quit [Ping timeout: 252 seconds]
03:56
lutsabound has quit [Quit: Connection closed for inactivity]
06:02
m4ssi has joined #yosys
06:07
kraiskil has joined #yosys
07:21
emeb_mac has quit [Quit: Leaving.]
08:29
kraiskil has quit [Ping timeout: 240 seconds]
09:51
kraiskil has joined #yosys
10:17
<
mwk >
promach3: well you found a bug
10:18
<
mwk >
as a workaround, I think assigning the constant to an intermediate const-valued wire would help
10:31
proteusguy has quit [Ping timeout: 240 seconds]
10:45
proteusguy has joined #yosys
11:10
<
promach3 >
mwk: what do you mean by
**intermediate** const-valued wire ?
11:22
kraiskil has quit [Ping timeout: 240 seconds]
11:49
<
mwk >
promach3: actually now that I look at it, I think the comparison isn't synthesizable verilog in the first place
11:50
<
mwk >
because it involves a floating point comparison
11:50
<
promach3 >
yup, your suggested countermeasure also does not work
11:51
<
promach3 >
<mwk "because it involves a floating p"> I suppose this is also a bug ?
11:51
<
mwk >
and the proper fix would be to write "localparam [31:0] TIME_TRFC = $ceil(...);"
11:51
<
mwk >
so that it'll be cast to integer
11:51
<
mwk >
no, this is not a bug
11:51
<
mwk >
it's just that floating point operations are not synthesizable
11:52
<
mwk >
because they don't map to logic circuits without major effort
11:52
<
promach3 >
you mean add `[31:0]` ?
11:52
<
promach3 >
let me try
11:54
<
mwk >
and btw by intermediate wire I meant something like "wire [31:0] tmp = 2.0; assign O = A < tmp;"
11:54
<
mwk >
but adding the type directly on localparam is superior
11:56
<
promach3 >
ok, cool thanks mwk
12:02
<
promach3 >
mwk: ok, now I could pass yosys check without errors. How do I pass yosys synthesis result to Xilinx ISE for place-and-route for Spartan-6 ?
12:03
<
mwk >
there's an example in yosys tree
12:04
<
mwk >
you'll need to write your own UCF of course, but the same synthesis script should work
12:04
<
mwk >
(well, that and fix the part number)
12:17
<
promach3 >
ok, thanks mwk
12:25
<
promach3 >
mwk: are you familiar with DDR ? May I ask some advice on setting constraints for `DQ` and `DQS` signals ?
12:26
<
promach3 >
they are both `inout` signals
13:35
srk has quit [Ping timeout: 240 seconds]
14:06
Kamilion has quit [Remote host closed the connection]
14:07
Kamilion has joined #yosys
14:09
kraiskil has joined #yosys
14:30
unkraut has quit [Remote host closed the connection]
14:33
unkraut has joined #yosys
14:42
AdamHorden has quit [Ping timeout: 240 seconds]
14:43
emeb has joined #yosys
16:08
<
promach3 >
mwk: Why the example you had given just now does not include SDC constraint file ?
16:15
<
mwk >
this is xilinx ISE, you generally use UCF constraints
16:15
<
mwk >
or at least they were enough for my little example
16:35
cr1901_modern has quit [Quit: Leaving.]
16:35
cr1901_modern has joined #yosys
18:03
emeb_mac has joined #yosys
18:20
futarisIRCcloud has joined #yosys
18:38
FabM has joined #yosys
19:15
FabM has quit [Remote host closed the connection]
19:35
show1 has quit [Ping timeout: 240 seconds]
19:43
m4ssi has quit [Remote host closed the connection]
19:52
kraiskil has quit [Ping timeout: 240 seconds]
23:40
lf has quit [Ping timeout: 250 seconds]
23:40
lf has joined #yosys