tag:blogger.com,1999:blog-4262701429517460610.post3643929039685617786..comments2023-09-16T08:06:20.541-07:00Comments on Japan Unanimation: Warning: this post will be boring if you've never rowed.Unknownnoreply@blogger.comBlogger16125tag:blogger.com,1999:blog-4262701429517460610.post-18280138617410679142007-08-19T21:47:00.000-07:002007-08-19T21:47:00.000-07:00Reset as a (positive) edge; I'll have to tighten u...Reset as a (positive) edge; I'll have to tighten up my consciousness around that one...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-19833121616918532682007-08-19T04:55:00.000-07:002007-08-19T04:55:00.000-07:00I'd mock the nerdiness here, but breaking 33 minut...I'd mock the nerdiness here, but breaking 33 minutes for 10k is too special. Sam, you have a permanent license to be a boring CS fatass in my blog forever. Free reign buddy, go to town...plus you have to collect on Matt Carlson letting you do anything yout want, I believe...Natehttps://www.blogger.com/profile/08873187420072065718noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-69762201505206018422007-08-18T23:44:00.000-07:002007-08-18T23:44:00.000-07:00Nothing happens on the negative edge of either res...Nothing happens on the negative edge of either reset or clock. The process is not sensitive to falling edges. Had I wanted the asynchronous reset to operate on the falling edge of sRst, I would have used the keyword negedge. <BR/><BR/><BR/>some examples:<BR/><BR/>d register (negative edge of clock, no reset)<BR/><BR/>always@(negedge clk)<BR/> q <= d;<BR/><BR/>d register(negative edge of clock, asynchronous reset on positive edge or reset)<BR/><BR/>always@(negedge clk or posedge rst)<BR/> if(rst) q <= 1'b0;<BR/> else q<= d;Anonymoushttps://www.blogger.com/profile/11738607059251852018noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-67322931902147064972007-08-18T16:33:00.000-07:002007-08-18T16:33:00.000-07:00Hi David,Looks good. One question, though,you wro...Hi David,<BR/><BR/>Looks good. One question, though,<BR/>you wrote: <BR/><BR/>always@(posedge sClk or posedge sRst)<BR/><BR/>What happens on the trailing edge of Reset?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-42083042781597695242007-08-18T12:09:00.000-07:002007-08-18T12:09:00.000-07:00how about some rtl for a clock domain synchronizat...how about some rtl for a clock domain synchronization circuit?<BR/><BR/>module syncBlock(sClk, sPulseIn, sRst, sValid);<BR/> input sClk;<BR/> input sPulseIn;<BR/> input sRst;<BR/> output sValid;<BR/><BR/> reg [1:0] sync;<BR/> <BR/> assign sValid = sync[1];<BR/> <BR/> reg sr_out;<BR/> initial sr_out = 1'b0; <BR/> <BR/> always@(sPulseIn or sync[1])<BR/> begin<BR/> if(sPulseIn) sr_out = 1'b1;<BR/> else if(sync[1]) sr_out = 1'b0;<BR/> else sr_out = sr_out;<BR/> end<BR/> <BR/> always@(posedge sClk or posedge sRst)<BR/> if(sRst) sync <= 2'b00;<BR/> else sync <= {(sync[0] & ~sync[1]),(sr_out)};<BR/><BR/>endmoduleAnonymoushttps://www.blogger.com/profile/11738607059251852018noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-10909398448864934562007-08-17T13:01:00.000-07:002007-08-17T13:01:00.000-07:00Sam,What are you doing reading RFCs? You should b...Sam,<BR/><BR/>What are you doing reading RFCs? You should be reading stuff like this:<BR/><BR/>"The JCXZ and JECXZ instructions test the CX and ECX registers, respectively, instead of one<BR/>or more status flags. See Section , “Jump if zero instructions. The JECXZ (jump if ECX zero)<BR/>instruction jumps to the location specified in the destination operand if the ECX register<BR/>contains the value zero. This instruction can be used in combination with a loop instruction<BR/>(LOOP, LOOPE, LOOPZ, LOOPNE, or LOOPNZ) to test the ECX register prior to beginning<BR/>a loop. As described in Section , “Loop instructions. The LOOP, LOOPE (loop while equal),<BR/>LOOPZ (loop while zero), LOOPNE (loop while not equal), and LOOPNZ (loop while not<BR/>zero) instructions are conditional jump instructions that use the value of the ECX register as<BR/>a count for the number of times to execute a loop. All the loop instructions decrement the<BR/>count in the ECX register each time they are executed and terminate a loop when zero is<BR/>reached. The LOOPE, LOOPZ, LOOPNE, and LOOPNZ instructions also accept the ZF flag<BR/>as a condition for terminating the loop before the count reaches zero.”, the loop instructions<BR/>decrement the contents of the ECX register before testing for zero. If the value in the ECX<BR/>register is zero initially, it will be decremented to FFFFFFFFH on the first loop instruction,<BR/>causing the loop to be executed 232 times. To prevent this problem, a JECXZ instruction can<BR/>be inserted at the beginning of the code block for the loop, causing a jump out the loop if the<BR/>EAX register count is initially zero. When used with repeated string scan and compare<BR/>instructions, the JECXZ instruction can determine whether the loop terminated because the<BR/>count reached zero or because the scan or compare conditions were satisfied.”Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-33963320771296618072007-08-17T09:59:00.000-07:002007-08-17T09:59:00.000-07:00My comment doesn't have to be interesting. So, he...My comment doesn't have to be interesting. So, here's a paragraph chosen at random from RFC791 (Internet Protocol):<BR/><BR/> The number 576 is selected to allow a reasonable sized data block to be transmitted in addition to the required header information. For example, this size allows a data block of 512 octets plus 64 header octets to fit in a datagram. The maximal internet header is 60 octets, and a typical internet header is 20 octets, allowing a margin for headers of higher level protocols.<BR/><BR/>For more information on this topic, see http://tools.ietf.org/html/rfc791.Samhttps://www.blogger.com/profile/08816718516778442841noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-6517256545697676212007-08-17T06:12:00.000-07:002007-08-17T06:12:00.000-07:00Sorry CD, I know you've gone to a 24 Hour Fitness ...Sorry CD, I know you've gone to a 24 Hour Fitness and challenged the septuagenarian next to you to a 10 stroke bicep curl contest on the erg, but that's not rowing...<BR/><BR/>These are the conditions if you want your rowing-related shit-talking to count: either<BR/><BR/>1. Your best 2k is under 6:10<BR/><BR/>OR<BR/><BR/>2. Your comment is interesting.Natehttps://www.blogger.com/profile/08873187420072065718noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-16906759097233804602007-08-16T18:18:00.000-07:002007-08-16T18:18:00.000-07:00I'd say it's boring even if you have.I'd say it's boring even if you have.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-75233668155214362912007-08-16T18:02:00.000-07:002007-08-16T18:02:00.000-07:00Next time, cherry pick the erg (didn't you all do ...Next time, cherry pick the erg (didn't you all do that?) and I bet you can find some fresh AA's at the local 7-11. <BR/><BR/>Another thought: blame it on the sub-standard Unagi that didn't actually give you strength as advertised.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-40650660953227312082007-08-16T17:37:00.000-07:002007-08-16T17:37:00.000-07:00Yeah, that was a huge mistake. If you wanted to d...Yeah, that was a huge mistake. If you wanted to do a 2k, you should have done it at like 4am when you could be absolutely certain nobody would come around.<BR/>Letting people see you fail violates the rules of being awesome.Samhttps://www.blogger.com/profile/08816718516778442841noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-86250085554021169042007-08-16T13:44:00.000-07:002007-08-16T13:44:00.000-07:00nate, i must concur that fly-and-don't-finish is i...nate, i must concur that fly-and-don't-finish is indeed an international language- martin spoke it eloquently.Anonymoushttps://www.blogger.com/profile/05396281687731931712noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-55109703128262009902007-08-16T06:13:00.000-07:002007-08-16T06:13:00.000-07:00gavin-- I think the international language of stop...gavin-- I think the international language of stopping at a thousand meters in is sufficient.Natehttps://www.blogger.com/profile/08873187420072065718noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-85806642584215146322007-08-16T06:12:00.000-07:002007-08-16T06:12:00.000-07:00"Ellie Ellie," gasped Matt as he ran into her mast..."Ellie Ellie," gasped Matt as he ran into her master bedroom on the other wing of the house, "I just had a terrible dream and there was erging and a bad score and losing and and and"<BR/><BR/>"Shhhh, Matt," Ellie says, gently swaying her little trooper in his swinging crib. "It was all just a bad dream...come on, breaking six isn't everything, buddy..." And with that, she took out her bank statement and read him his favorite story until he gently slumbered.Natehttps://www.blogger.com/profile/08873187420072065718noreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-59284416927945088102007-08-16T05:54:00.000-07:002007-08-16T05:54:00.000-07:00Somewhere in sunny southern California, Carlson is...Somewhere in sunny southern California, Carlson is sleeping in the designated spot where Elle decided he should sleep. Suddenly, without warning, he is jarred from his slumber. Carlson had a terrible vision of one of his former rowers being unable to finish their 2k. He shivers at the thought, but just shrugs it off as a horrible dream.<BR/><BR/>But was it....?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4262701429517460610.post-58845183206708936882007-08-15T20:17:00.000-07:002007-08-15T20:17:00.000-07:00You should get someone to teach you the Japanese p...You should get someone to teach you the Japanese phrase for "I have to stop rowing because my pussy hurts." Might come in handy.Anonymousnoreply@blogger.com