Recent content by egsmith

  1. E

    C/C++ How to Create a C++ Program to Separate and Add Even and Odd Integers?

    Ya, I though that was funny. Here is a way to eliminate that pesky branch. in a sort of c-psuedo code hybrid int sum[2]={0,0} while(i<= read another integer) { sum[i&1]+=i; }
  2. E

    Are the IBM VM and MVS OSes the TOP Operating systems?

    I'll agree those innovations were really cool. However not everything that is in MVS came from MVS and IBM [2]. Just to help you out, you're forgetting the really neat ones, CTSS and Multics [3]. I would argue much of MVS came from there. Also, please read "The Mythical Man-Month" [1] for a...
  3. E

    Are the IBM VM and MVS OSes the TOP Operating systems?

    Yipe what a troll. Was the article published in 1980 as well?
  4. E

    Why Have Pipelining? Benefits & Advantages

    There are tons of them: some architectural, some electrical and some managerial. I'll give you a key electrical one as this is the hardest design challenge (IMHO) when designing single cycle datapaths. The various gates and routes that make up the datapath all have different delays...
  5. E

    Fixing Xilinx Error: Unconnected Block in Verilog

    I did a visual inspection of both files and I don't see any syntax errors but I do see one logical error (pwm_out is never set low). To be sure I compiled both and no errors or warnings were produced. I am not familiar with the Xilinx verilog compiler (I only use ISE to place and route...
  6. E

    Course on Data structures and algorithms

    You can't be serious. One can easily make the fastest available computer perform lousy with poor algorithm selection. See Hurkyl's post for an example. I do agree that because of the availability of libraries and what not you don't need to write your own implementation of quicksort or whatever...
  7. E

    Why Have Pipelining? Benefits & Advantages

    You should really read faust9's post before reading this. His post is really good. You need to state what significant time means and it's significance compared to what. Without quantify these relations the post if not very meaningful. Also, you are not being very clear on what it is...
  8. E

    Fixing Xilinx Error: Unconnected Block in Verilog

    What does the module port list of clkdiv look like? It appears that gclk is not on an output. PS You'll save yourself a lot of hassle and get better error messages if you used name port lists when instaniating modules...
  9. E

    Course on Data structures and algorithms

    I think wikipedia does a great job of explaining data structures in general. http://en.wikipedia.org/wiki/Data_structures This class is critical! I used the topics in every single one of my upper division classes (except perhaps the ee ones). The topics also come up in every single...
  10. E

    Undergrad Does Shifting a Linear Equation Change its Points on the Graph?

    Yes, f(1)=2 g(1)=2 by design and as a consequence of the given condition f(x)=g(x). Maybe this would help you. Graph f(x) with a=-5/2 and b=9/2 On the same graph, perhaps in a different color, graph f(x+2) In a third color, graph f(x+2)+5. Hopefully this will show you that the shift does...
  11. E

    Undergrad Does Shifting a Linear Equation Change its Points on the Graph?

    Look at the constant 'a' that you solved for and look at g(x). You sould see some similarities. Basically g(x) shifts f(x) on top of itself so that you can't tell the difference between f(x) and the function after the shift by design. There is a shift but it doesn't matter.
  12. E

    Undergrad Does Shifting a Linear Equation Change its Points on the Graph?

    But the condition was told. I have to admit, I really don't understand the original problem statement so I could be totally off base but this is what I think is happening. I think the original problem statement is this: Given: f(x)=ax+b g(x)=f(x+2)+5 Find constants a and...
  13. E

    RF gurus-A question from a wireless dullard

    You could also try contacting one of their apps engineers. Sometime the latency is long but the reply is usually helpful.
  14. E

    Designing Circuit Boards with No Circuit Knowledge

    How would you specify what the circuit should do with no knowledge of circuits? Or put another way, what should the input to this program look like?
  15. E

    Crafting Text Editor with C: Tips on Efficient Text Handling

    I would recommend going even simpler than pico or vim. Basically at first you want to get away from anything even related to a terminal (because this is where things get most complicated). I would start with ed. http://directory.fsf.org/text/editors/ed.html