_catircservices1 has quit [Server closed connection]
_catircservices1 has joined #amaranth-lang
dyniec has quit [Quit: WeeChat 4.2.2]
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 264 seconds]
Degi_ is now known as Degi
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #amaranth-lang
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #amaranth-lang
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #amaranth-lang
bob_twinkles has quit [Server closed connection]
bob_twinkles has joined #amaranth-lang
Bluefoxicy has quit [Server closed connection]
Bluefoxicy has joined #amaranth-lang
toshywoshy has quit [Server closed connection]
toshywoshy has joined #amaranth-lang
Chips4MakersakaS has joined #amaranth-lang
<Chips4MakersakaS>
I won't be able to join call later today. For #66, I don't have preference on solutions for concerns of last discussion so happy to accept any outcome of discussion on it.
<Chips4MakersakaS>
Only I find that talking in periods on clocks feels less natural than talking about them in frequency; e.g. 200MHz clock vs 5ns clock period.
<whitequark[cis]>
the idea is that you pick whichever number is more convenient for you
<whitequark[cis]>
right now you have to use periods, but with this RFC, you could do frequency too
<Chips4MakersakaS>
I see it for definition where you can easily specify period from a frequency. I was more thinking about reporting, e.g. reporting the frequency of a clock without always needing to have to compute freq. from period oneself; e.g. the open question about having reciprocal properties available for this purpose.
<zyp[m]>
those properties were added in the last revision of the RFC
zyp[m] has joined #amaranth-lang
<Chips4MakersakaS>
I'm really bad at reading RFCs it seems...
<Chips4MakersakaS>
All OK for this RFC from my side.
<zyp[m]>
the reason those weren't there from the beginning is because the scope of the RFC was originally about elapsed simulation time, before it was expanded to also cover clock periods
whitequark[cis] has quit [Server closed connection]
whitequark[cis] has joined #amaranth-lang
jn has quit [Server closed connection]
jn has joined #amaranth-lang
jn has quit [Changing host]
jn has joined #amaranth-lang
sauce has quit [Server closed connection]
sauce has joined #amaranth-lang
bai has joined #amaranth-lang
tpw_rules has quit [Server closed connection]
tpw_rules has joined #amaranth-lang
Guest77 has joined #amaranth-lang
Guest77 has quit [Client Quit]
Xesxen has quit [Server closed connection]
Guest14 has joined #amaranth-lang
Xesxen has joined #amaranth-lang
Ekho has quit [Server closed connection]
Guest59 has joined #amaranth-lang
Guest14 has quit [Ping timeout: 256 seconds]
Guest59 has quit [Quit: Client closed]
Ekho has joined #amaranth-lang
peeps[zen] has quit [Server closed connection]
peeps[zen] has joined #amaranth-lang
Guest14 has joined #amaranth-lang
Guest14 has quit [Client Quit]
nyanotech has quit [Server closed connection]
nyanotech has joined #amaranth-lang
<whitequark[cis]>
good evening everyone, it is time for our weekly Amaranth core language meeting
<jfng[m]>
should we wait until zyp is here before voting ?
<Wanda[cis]>
I'm not convinced the *hertz accessors should return a Fraction instead of a float
<whitequark[cis]>
oh yes, we should definitely make sure zyp is here
<Wanda[cis]>
like... either the original frequency was such that the period comes out exact, and you get an exact result in fraction which would also be exact as float, or you get a rounding error on the original conversion to period, and getting back the frequency as a Fraction is completely pointless
<mcc111[m]>
whitequark[cis]: So is the discussion happening today, then?
<whitequark[cis]>
I think I'm not actually feeling well enough to conduct a meeting. sorry everyone
<jfng[m]>
no worries, let's continue next week
<mcc111[m]>
I am not sure I will be present for next week's meeting, but I have a minor suggestion, so I will put it in the issue.
<zyp[m]>
<Wanda[cis]> "like... either the original..." <- you're making a good point, but I'll nitpick and claim that there's a third option: original frequency isn't exact as a float (e.g. because you've got a PLL or other divisor doing something like 100MHz / 3) -- but of course this is moot since the trip through integer femtoseconds already doesn't guarantee exactness
<zyp[m]>
so I agree that floats would have sufficient precision for the numbers involved in typical frequency calculations, and my only argument for returning fractions would be that I like being consistent
<whitequark[cis]>
why do we care about exactness anyway
<whitequark[cis]>
even the best oscillators are like 1 ppm at best, and that's already an OCXO
<whitequark[cis]>
so any precision beyond that is excessive
dyniec has joined #amaranth-lang
<whitequark[cis]>
I think the only place where caring about exactness makes any sense at all is trying to catch up from one task to another in the simulator
<zyp[m]>
like I said, we don't
<whitequark[cis]>
while this is generally a bad idea, the representation being an integer number of femtoseconds takes care of that
<whitequark[cis]>
right, ok
<whitequark[cis]>
just making sure this doesn't get lost
<zyp[m]>
the only reason I see to care about frequency exactness would be when we want code to spit out nice round numbers in e.g. generated defines/metadata, and that's really just an aesthetics thing
<zyp[m]>
the reason the .*second properties use fractions is because we care about resolution and it not decreasing the longer a simulation runs