omnitechnomancer has quit [Quit: Idle timeout reached: 172800s]
jess has quit [*.net *.split]
jess has joined #amaranth-lang
jjsuperpower has quit [Ping timeout: 240 seconds]
jjsuperpower has joined #amaranth-lang
jjsuperpower has quit [Ping timeout: 246 seconds]
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #amaranth-lang
jjsuperpower has joined #amaranth-lang
jjsuperpower has quit [Remote host closed the connection]
jjsuperpower has joined #amaranth-lang
tucanae47 has quit [Server closed connection]
tucanae47 has joined #amaranth-lang
jer_emy[m] has joined #amaranth-lang
<jer_emy[m]>
I'm struggling a little with the latest version of amaranth. This code used to work fine: `platform.request('clk16', dir='i')`, but now I get `TypeError: Object flipped((rec clk16_0 i)) cannot be converted to an Amaranth value`
<jer_emy[m]>
can anyone point me to what I am doing wrong ?
miek__[m] has joined #amaranth-lang
<miek__[m]>
you need to use the i attribute of the resource to get at the value, ie: platform.request(...).i
<ravenslofty[m]>
...it's true that SDC is just Tcl, but when interpreting SDC tooling doesn't really expect to do I/O
<mcc111[m]>
That makes sense, but also if we think of SDC as a file format used in compilation rather than "a programming language", one of the core functions of interpreting user code is to report warnings and errors, and most programming-related formats have some means for injecting a message into the error stream, such as "#error"
<mcc111[m]>
Are you saying you believe this just doesn't happen to exist in the SDC context?
<mcc111[m]>
Do you think, if I do normal tcl file ops such as "open"/"close", this will be specifically suppressed by the environment?
ebb has quit [Server closed connection]
ebb has joined #amaranth-lang
<mcc111[m]>
hmm, open/close do work! cool
<whitequark[cis]>
note that XDC is not Tcl
<whitequark[cis]>
(the Xilinx variant)
<mcc111[m]>
that's good to know
<ravenslofty[m]>
(and `nextpnr-mistral` does not evaluate `.qsf` files as Tcl even though they "should" be)
RobTaylor[m] has quit [Quit: Idle timeout reached: 172800s]
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
nelgau has quit [Read error: Connection reset by peer]