Recent content by pags920

  1. P

    MATLAB: Finding the 5th Root using Newton's Method

    Homework Statement The solution of the nonlinear equation x^5-P=0 gives the fifth root of the number P. A numerical solution of the equation can be calculated with Newton’s method. The solution process starts by choosing a value x1 as a first estimate of the solution. Using this value, a...
  2. P

    MATLAB Steady-State to Transfer Function Using MATLAB

    Apparently, this command doesn't work with my version of MATLAB. I have an older version, and I tried this on MATLAB 2010 and it works just fine.
  3. P

    MATLAB Steady-State to Transfer Function Using MATLAB

    I am trying to use MATLAB to obtain a transfer function, for my Controls class. I will be honest, I have no experience using MATLAB, but our professor insists on us using it to find the transfer function. MATLAB is not a prerequisite for this class. Before I start attempt to find my transfer...
  4. P

    Finding the period of 2 multiplied trig functions

    I am trying the period of 2 cosine functions that are multiplied with each other, but I am blanking out on how to find them. For example, given a function like: x(t) = cos(10*pi*t)cos(20*pi*t) I know it has something to do with the frequency of both functions (10*pi & 20*pi), but I...
  5. P

    Engineering Series RLC Circuit & Differential Equations

    Homework Statement I have a series RLC circuit, no values given, connected to a voltage source Vs(t). I am asked to write the differential equations for: a. that relates the inductor current iL(t) to the source voltage Vs(t). b. that relates the capactor voltage Vc(t) to the source...
  6. P

    Multi-Cycle Processor Implementation in Verilog?

    Okay, I was told that I am not checking for the opcode in my last instruction anywhere in program. However, it wasn't explicitly clear as to where I would check it at. I know that it has to be checked somewhere between states 3 and 4.
  7. P

    Multi-Cycle Processor Implementation in Verilog?

    I am trying to design a multi-cycle processor in Verilog for the MIPS instruction set. However, I cannot get one of my instructions that I stored in memory to execute. This program is a continuation of a lab assignment that was given to my class. The instruction that I am trying to execute...
  8. P

    Verilog Serial Adder in Behavioral Description

    Homework Statement My homework is to design a Serial Adder in Verilog using a shift register module, a full adder module, and a D Flip-Flop module. I know my full adder and flip flop modules are correct, but I am not so sure about my shift register. The shift register is 8 bits: Inputs for...
  9. P

    MIPS: Saving a String to register(s)?

    Homework Statement I am currently working on a MIPS program that is supposed to convert letters, either lowercase or uppercase, to a phone number. Two questions: 1. With the user entering a string, how do I go about in saving the string into the registers? Or would memory be a more...
  10. P

    T Flip-Flop Using A D Flip-Flop HDL?

    I am trying to figure out how to make a T Flip Flop using a D Flip-Flop. I know that I need to use a XOR gate in order to make the T Flip-Flop, but I am having trouble putting it into a Verilog code. Below is the module for the flip-flop. Do I have to create a new module just for the XOR gate...
  11. P

    Engineering Help Building 4-Bit Searching Circuit

    I am using a Digital Trainer, so it has a CLK output built in. I would take that output and connect it to the input of the LS193, correct? Would I connect that to the Count Up/Down Input?
  12. P

    4-Bit Shift Register in Verilog

    This is basically a continuation of a previous problem I submitted. I worked out the previous problem, now I need to figure out another problem. This 4-bit shift register won't load the number I am trying to load. I have exhausted every possible error where it could be wrong. I commented...
  13. P

    Engineering Help Building 4-Bit Searching Circuit

    Ok, how would I go about in starting this design?
  14. P

    Syntax Issues With Verilogger Pro (2001,2005 syntax to 1995 syntax)

    Unfortunately, that copy of Verilogger doesn't help me. I tried my code and it didn't work.
Back
Top