00:07
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
00:09
<
agg >
mubes: when you call platform.request("resource_name"), you can specify xdr=2 to get a DDR object
00:10
<
d1b2 >
<mubes> So I just create a resource with those four pins in, do a request to get them, and send the result into get_input?
00:10
<
agg >
you don't need to call get_input
00:10
<
agg >
sorry, was about to type an example but
00:10
<
agg >
do you want to clock the DDR with the clock on pin 0?
00:10
<
agg >
or with the FPGA's clock?
00:10
<
d1b2 >
<mubes> Yes.
00:11
<
d1b2 >
<mubes> The design already works in 'clean' verilog, but nmigen gives me more flexibility so trying to move it over. How do 'connectors' figure in all this?
00:11
<
agg >
so in your platform you might have something like Resource("pmod", 0, Subsignal("clk", Pins("A1", dir="i")), Subsignal("dat", Pins("A2 A3 A4 A5", dir="i")))
00:11
<
agg >
and then in your design, pmod = platform.request("pmod", 0, xdr=2)
00:12
<
_whitenotifier >
[YoWASP/nextpnr] whitequark 0b27572 - Update dependencies.
00:12
<
d1b2 >
<mubes> Oh great, I can define it all in one then! Brilliant....and so simple, once you know :-))
00:12
<
agg >
and to use it, m.d.comb += pmod.dat.i_clk.eq(pmod.clk.i), your_thing.dat_a = pmod.dat.i0, your_thing.dat_b = pmod.dat.i1
00:12
<
agg >
sorry, let me rephrase that first bit
00:12
<
agg >
pmod = platform.request("pmod", 0, xdr = {"dat": 2})
00:13
<
agg >
you don't want the clk to be a ddr input, after all
00:13
<
vup >
@mubes: connectors can not be used directly, they can be seen as a way to rename / reorder pins which then can be used in Resource definitions. Say for example you have a `Connector("pmod", 0, "B0 B1 B2 B3 - -")`. Then you can write `Pins("1 2 3", conn=("pmod", 0))` to get the equivalent of `Pins("B0 B1 B2")`
00:13
<
d1b2 >
<mubes> Nope. Eventually I want to push it through a delay block, but one hill at a time.
00:14
<
agg >
usually to use the connector it's as vup says, but you can call platform.add_resources([Resource("bla", 0, Pins("0 1 2 3", conn=("pmod", 0))])
00:14
<
d1b2 >
<mubes> @vup ok, that makes sense...I wondered why I couldn't reach them.
00:14
<
agg >
and you can call that inside your code, rather than in your platform file
00:14
<
agg >
so it lets the platform be more generic, and your top-level code can decide what to do with them
00:14
<
d1b2 >
<mubes> Thanks guys...enough clues to keep going for a bit longer!
00:15
<
agg >
(you can also write Pins("pmod_0:0 pmod_0:1") etc but idk why you would
00:16
<
agg >
the xdr argument to platform.request either takes a number 0/1/2/etc which applies to all signals, or a dictionary of subsignal names to numbers
00:16
<
d1b2 >
<mubes> Strewth, there's a lot of layered complexity in here...
00:16
<
agg >
with xdr=0 your object has .i or .o or .oe (depending on dir), xdr=1 gets i_clk and o_clk in addition, and xdr=2 gets i0/i1/o0/o1, etc
00:19
<
vup >
(also you can of course nest connectors for more confusion :P (they can take a `conn=...` argument aswell))
00:19
cesar[m]1 has quit [Ping timeout: 246 seconds]
00:20
ronyrus_ has joined #nmigen
00:20
ronyrus has quit [Ping timeout: 240 seconds]
00:21
<
d1b2 >
<mubes> Turtles all the way down.
00:21
cesar[m]1 has joined #nmigen
00:21
<
d1b2 >
<mubes> I'm gonna end up reading the output verilog just to see if I managed to do what I think I managed to do!
00:25
<
d1b2 >
<mubes> Thanks everyone. I'll do battle on this tomorrow. Gnight.
00:38
sakirious8 has joined #nmigen
00:39
sakirious has quit [Ping timeout: 240 seconds]
00:39
sakirious8 is now known as sakirious
00:42
lf_ has quit [Ping timeout: 260 seconds]
00:42
lf has joined #nmigen
00:48
<
_whitenotifier >
[YoWASP/yosys] whitequark fab1c12 - Update dependencies.
00:48
sorear has quit [Ping timeout: 265 seconds]
00:51
davidlattimore has quit [Ping timeout: 265 seconds]
00:52
sorear has joined #nmigen
00:53
davidlattimore has joined #nmigen
01:11
marble has quit [*.net *.split]
01:11
hell__ has quit [*.net *.split]
01:12
marble has joined #nmigen
01:12
hell__ has joined #nmigen
01:14
carlomaragno has quit [Ping timeout: 264 seconds]
01:15
blazra has quit [Ping timeout: 258 seconds]
01:15
vmedea[m] has quit [Ping timeout: 260 seconds]
01:15
whitequark[m] has quit [Ping timeout: 260 seconds]
01:15
emily has quit [Ping timeout: 260 seconds]
01:15
cesar[m]1 has quit [Ping timeout: 244 seconds]
01:15
JJJollyjim has quit [Ping timeout: 268 seconds]
01:17
jfng has quit [Ping timeout: 260 seconds]
01:17
carlomaragno has joined #nmigen
01:37
futarisIRCcloud has joined #nmigen
01:37
vmedea[m] has joined #nmigen
01:37
emily has joined #nmigen
01:44
blazra has joined #nmigen
01:45
whitequark[m] has joined #nmigen
01:50
cesar[m]1 has joined #nmigen
01:52
jfng has joined #nmigen
02:03
vmedea[m] has quit [Ping timeout: 240 seconds]
02:03
emily has quit [Ping timeout: 265 seconds]
02:03
cesar[m]1 has quit [Ping timeout: 244 seconds]
02:04
whitequark[m] has quit [Ping timeout: 258 seconds]
02:04
blazra has quit [Ping timeout: 258 seconds]
02:04
jfng has quit [Ping timeout: 260 seconds]
02:18
zl2cco has joined #nmigen
02:27
lkcl has quit [Ping timeout: 256 seconds]
02:31
emily has joined #nmigen
02:32
vmedea[m] has joined #nmigen
02:39
lkcl has joined #nmigen
02:48
blazra has joined #nmigen
02:53
cesar[m]1 has joined #nmigen
02:54
whitequark[m] has joined #nmigen
03:04
jfng has joined #nmigen
03:29
cr1901_modern1 has joined #nmigen
03:32
aquijoule_ has joined #nmigen
03:33
mwk_ has joined #nmigen
03:34
DaKnig2 has joined #nmigen
03:34
DaKnig2 has joined #nmigen
03:38
richbridger has quit [*.net *.split]
03:38
cr1901_modern has quit [*.net *.split]
03:38
mwk has quit [*.net *.split]
03:38
Lofty has quit [*.net *.split]
03:38
DaKnig has quit [*.net *.split]
03:38
Ekho has quit [*.net *.split]
03:38
DaKnig2 is now known as DaKnig
03:39
cr1901_modern1 has quit [Quit: Leaving.]
03:39
cr1901_modern has joined #nmigen
03:39
emily has quit [Ping timeout: 246 seconds]
03:42
Degi has quit [Ping timeout: 264 seconds]
03:42
Degi has joined #nmigen
03:42
Ekho- has joined #nmigen
03:42
electronic_eel_ has joined #nmigen
03:42
electronic_eel has quit [Ping timeout: 264 seconds]
03:43
Lofty has joined #nmigen
03:47
emily has joined #nmigen
03:55
lkcl has quit [Ping timeout: 240 seconds]
03:55
Ekho- is now known as Ekho
04:06
slan has quit [Quit: Lost terminal]
04:08
lkcl has joined #nmigen
04:17
slan has joined #nmigen
04:44
zl2cco has quit [Quit: Connection closed for inactivity]
04:54
lkcl has quit [Ping timeout: 246 seconds]
04:56
PyroPeter_ has joined #nmigen
04:59
PyroPeter has quit [Ping timeout: 264 seconds]
04:59
PyroPeter_ is now known as PyroPeter
05:07
lkcl has joined #nmigen
05:28
emeb_mac has quit [Ping timeout: 264 seconds]
05:29
emeb_mac has joined #nmigen
05:45
slan has quit [Quit: leaving]
06:47
emeb_mac has quit [Quit: Leaving.]
06:58
jjeanthom has joined #nmigen
07:17
Bertl_oO is now known as Bertl_zZ
07:55
lkcl has quit [Ping timeout: 264 seconds]
08:07
lkcl has joined #nmigen
08:16
lkcl has quit [Ping timeout: 240 seconds]
08:30
lkcl has joined #nmigen
08:58
cr1901_modern has quit [Read error: Connection reset by peer]
09:00
cr1901_modern has joined #nmigen
09:10
chipmuenk has joined #nmigen
09:11
lkcl has quit [Ping timeout: 256 seconds]
09:14
whitequark has quit [Ping timeout: 272 seconds]
09:19
whitequark has joined #nmigen
09:24
lkcl has joined #nmigen
09:26
smkz has quit [Quit: smkz]
09:27
smkz has joined #nmigen
09:35
electronic_eel has joined #nmigen
09:40
lkcl has quit [Ping timeout: 240 seconds]
09:42
chipmuenk has quit [Ping timeout: 240 seconds]
09:42
chipmuenk has joined #nmigen
09:54
lkcl has joined #nmigen
10:31
lkcl has quit [Ping timeout: 265 seconds]
10:44
lkcl has joined #nmigen
13:00
FFY00 has quit [*.net *.split]
13:00
pepijndevos has quit [*.net *.split]
13:00
cesar[m]1 has quit [*.net *.split]
13:00
sorear has quit [*.net *.split]
13:00
key2 has quit [*.net *.split]
13:01
FFY00 has joined #nmigen
13:01
pepijndevos has joined #nmigen
13:01
cesar[m]1 has joined #nmigen
13:01
sorear has joined #nmigen
13:01
key2 has joined #nmigen
13:03
vmedea[m] has quit [*.net *.split]
13:03
futarisIRCcloud has quit [*.net *.split]
13:03
vmedea[m] has joined #nmigen
13:03
futarisIRCcloud has joined #nmigen
13:03
jfng has quit [Ping timeout: 260 seconds]
13:04
whitequark[m] has quit [Ping timeout: 268 seconds]
13:04
futarisIRCcloud has quit [Max SendQ exceeded]
13:04
vmedea[m] has quit [Ping timeout: 258 seconds]
13:04
futarisIRCcloud has joined #nmigen
13:04
cesar[m]1 has quit [Ping timeout: 265 seconds]
13:07
emily has quit [Ping timeout: 240 seconds]
13:09
blazra has quit [Ping timeout: 260 seconds]
13:22
FFY00 has quit [Ping timeout: 244 seconds]
13:30
whitequark[m] has joined #nmigen
13:32
jfng has joined #nmigen
13:38
Bertl_zZ is now known as Bertl
13:42
cesar[m]1 has joined #nmigen
13:48
cesar[m]1 has quit [Ping timeout: 244 seconds]
13:48
whitequark[m] has quit [Ping timeout: 265 seconds]
13:49
jfng has quit [Ping timeout: 268 seconds]
14:01
awe00 has joined #nmigen
14:05
FFY00 has joined #nmigen
14:13
emily has joined #nmigen
14:33
aquijoule_ has quit [Read error: Connection reset by peer]
14:34
blazra has joined #nmigen
14:34
whitequark[m] has joined #nmigen
14:34
cesar[m]1 has joined #nmigen
14:34
vmedea[m] has joined #nmigen
14:34
JJJollyjim has joined #nmigen
14:34
jfng has joined #nmigen
16:30
<
_whitenotifier >
[nmigen] nickoe edited a comment on pull request #584: Fixup symbiflow toolchain for xilinx 7series -
https://git.io/JtWjM
16:36
emeb_mac has joined #nmigen
16:42
lkcl has quit [Ping timeout: 246 seconds]
16:46
lkcl has joined #nmigen
17:32
Bertl is now known as Bertl_oO
18:02
FFY00 has quit [Read error: Connection reset by peer]
18:04
FFY00 has joined #nmigen
18:05
awe00 has quit [Ping timeout: 268 seconds]
18:23
nickoe has quit [Ping timeout: 246 seconds]
18:37
jjeanthom has quit [Ping timeout: 260 seconds]
18:43
awe00 has joined #nmigen
18:47
awe00 has quit [Client Quit]
19:21
chipmuenk has quit [Ping timeout: 240 seconds]
20:03
chipmuenk has joined #nmigen
20:04
chipmuenk has quit [Read error: Connection reset by peer]
20:04
chipmuenk1 has joined #nmigen
20:04
chipmuenk has joined #nmigen
20:05
chipmuenk has quit [Client Quit]
20:08
chipmuenk1 has quit [Ping timeout: 258 seconds]
20:35
nickoe has joined #nmigen
23:13
sakirious has joined #nmigen
23:20
FFY00 has quit [Ping timeout: 258 seconds]
23:36
pftbest has joined #nmigen
23:41
<
pftbest >
Hello. Does anyone know why someone would use SSTL135 iotype for DDR3 while having 1.5 volts on VCCIO?
23:42
<
pftbest >
I've looked at some docs from Lattice and it seems maximum allowed VCCIO is 1.42v for SSTL135
23:43
<
pftbest >
But at the same time, their DDR3 example project for Versa board is using SSTL135 and has 1.5 on VCCIO
23:44
<
pftbest >
I'm asking this because nmigen-boards for ECIX-5 is using SSTL135 but the litex-boards is using SSTL15
23:45
<
pftbest >
for the same pins and I have no idea which is correct
23:49
<
whitequark >
cc daveshah
23:57
FFY00 has joined #nmigen