whitequark changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/ | Bridged to #yosys:matrix.org
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
nelgau has quit [Read error: Connection reset by peer]
nelgau_ has joined #yosys
Twix has quit [Ping timeout: 272 seconds]
Twix has joined #yosys
unkraut has quit [Ping timeout: 272 seconds]
unkraut has joined #yosys
kristianpaul has quit [Ping timeout: 255 seconds]
FabM has joined #yosys
FabM has joined #yosys
killjoy has quit [Ping timeout: 260 seconds]
killjoy has joined #yosys
killjoy has joined #yosys
killjoy has quit [Ping timeout: 255 seconds]
killjoy has joined #yosys
killjoy has joined #yosys
schaeg has joined #yosys
schaeg_ has joined #yosys
schaeg has quit [Ping timeout: 240 seconds]
crzwdjk has quit [Ping timeout: 240 seconds]
crzwdjk has joined #yosys
schaeg has joined #yosys
schaeg_ has quit [Ping timeout: 272 seconds]
schaeg has quit [Ping timeout: 258 seconds]
<Myrl-saki> Is it unusual to use both clock edges? I'm designing my CPU such that it commits internally at negedge, while it interfaces with things at the posedge.
<Myrl-saki> In hindsight though, the initial reasons kinda don't hold up lol
<tnt> Yes, it's a bit weird.
<tnt> Not unheard of but ... not that common.
<jix> I think it used to be more common with latch based designs (although they often used two clock phases with the right amount of overlap I think?) but I don't know of a good reason to do it with dff based designs apart from matching existing interfaces that might use both edges...
FabM has quit [Ping timeout: 245 seconds]
<Myrl-saki> Thanks. :)
notgull has quit [Ping timeout: 260 seconds]
kristianpaul has joined #yosys
GenTooMan has quit [Ping timeout: 272 seconds]
notgull has joined #yosys
GenTooMan has joined #yosys
<Zaba> i've done some designs where the logic would be clocked on posedge but the outputs would be clocked on negedge so as to not worry about meeting setup/hold times when interfacing with things that latch their inputs on posedge
<Zaba> but i'm not expert in this so i've no idea how much sense that actually made
<crzwdjk> When I needed something like that (for SPI) I just inverted the output clock that goes to the external device.
<tnt> yeah, using different edges for IO with the outside of the chip, that's pretty common. Either invert the output clock, capture on negedge ... or both ... whatever it takes to ensure you respect hold/setup times of whatever external device you talk to.
<tnt> When the OP talked about "its interfaces", I understood it as "on chip interfaces, to other part of the fpga/asic" and not necessarily about external IO and so my answer is to take in that context. But I could of course have misunderstood, I hadn't even considered they could be talking about off-chip interfaces.
SpaceCoaster has quit [Quit: Bye]
SpaceCoaster has joined #yosys
corecode has quit [Quit: ZNC - http://znc.in]
bjorkintosh has quit [Quit: Leaving]
bjorkintosh has joined #yosys
bjorkintosh has quit [Changing host]
bjorkintosh has joined #yosys
Psentee has quit [Quit: Off]
Psentee has joined #yosys
Psentee has quit [Client Quit]
Psentee has joined #yosys
vancz has quit []
vancz has joined #yosys
nonchip has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nonchip has joined #yosys
agg has quit [Ping timeout: 272 seconds]
agg has joined #yosys
lexano has quit [Ping timeout: 260 seconds]