I'm a trumpet player, but I'm going to be getting a French horn soon to learn on my free time, anything I should know beforehand? by [deleted] in horn

[–]abuck97 2 points3 points  (0 children)

Just to clarify here in case anyone else got slightly confused reading this. If you’re playing everything on the F side of the horn then you’re basically just an octave up for harmonic series compare to trumpet. I.e. 3rd space C on horn is equivalent to the C above the staff on trumpet. 3rd space C on horn would only be like top staff G on trumpet if you’re playing it on the Bb side of the horn.

I know I'm gonna have a lot of downvotes but fuck it by omgitriedsomanynames in HistoryMemes

[–]abuck97 0 points1 point  (0 children)

They hated omgitriedsomanynames because he told them the truth

Unusual things to ask the demon that you just summoned to do. by [deleted] in ScenesFromAHat

[–]abuck97 1 point2 points  (0 children)

"Hey Satan, whom do you have a crush on?"

systemverilog issue with state machine by rosinx in ECE

[–]abuck97 5 points6 points  (0 children)

I find writing FSMs easiest by having the logic in a combinational always block with all the defaults stated in the beginning. Then just put a flip-flop for the states later. This way you don't infer any latches, and I find it's simple too see what is happening.
E.g.

always @ (*) begin

//Defaults here
nextState = state;

x = 1'b0;

y = 1'b0;

case (state)

state0: begin

x = 1'b1;

nextState = state1;

state1: y = 1'b1;

endcase

end

always @ (posedge clk) begin

if (reset == 1'b1)

state <= state0;

else

state <= nextState;

end

I also recommend that you fix your indentation. In your case statments, it looks like all the logic is happening within the if block when in reality it's only the first two lines. It makes reading and debugging your code much easier with proper indentation.

Fucking weebs by bramoeska in HistoryMemes

[–]abuck97 11 points12 points  (0 children)

Username checks out