Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by FecP

  1. F

    Unable to infer RAM on Quartus Prime

    No, I don't think I am using it illegally because the exact same parameters and port connections infer RAM when the Megafunction wizard is used.I appreciate the organization tips and will continue to look into this and post here.
  2. F

    Unable to infer RAM on Quartus Prime

    I tried this too, but it didn't work. The code I posted can be found in the Quartus Prime Menu : Edit--->Insert Template---> Verilog HDL---->Full Designs----> RAMs & ROMs----> Single Port Ram. As for the second point, I am incrementing the pointer whenever the ram is written to or read from.Is...
  3. F

    Unable to infer RAM on Quartus Prime

    Hi! I am trying to infer a single port ram with width = 8 bits and depth = 2^13. This is the code that I've pulled from the templates and the altera website for a single port ram with one read/write address and write before read behaviour. reg [7:0] ram[8191:0]; reg [12:0] ptr; reg [12:0]...
  4. F

    [SOLVED] If or else if? Which is better?

    In a Verilog design, say that you have n (any number) completely mutually exclusive events i.e. the events never occur simultaneously and there is hence no priority associated with any event.In such a scenario, what would be faster/simpler/less inferred hardware? if (condition 1) if...
  5. F

    [SOLVED] Understanding set_input_delay And set_output_delay .SDC Constraints

    Hello! I have tried to understand the set_input_delay and set_output_delay constraints, and I'm still confused. First off, here's what I think the set_input_delay command does : The register associated with the physical input pins of the FPGA is clocked after the max TCO of the external device...
  6. F

    Picoblaze Spartan 3E I2C

    Re: I2C Master Code Verification Spartan 3-E Thank you for yet another detailed reply! I apologize for my crude behaviour. Rest assured, I will not repeat it. I am now using cascadable Shift Registers to implement I2C. As mentioned earlier, I want to sample the ACK bit and toggle an LED(or any...
  7. F

    Picoblaze Spartan 3E I2C

    I2C Master Code Verification Spartan 3-E I have to implement I2C to configure a component on start up ; hence, the FPGA board need only be operated in the Master Mode.I ave written code which divides the incoming clock to produce a frequency of around 390,000 Khz (391.625) .The component...
  8. F

    Picoblaze Spartan 3E I2C

    Thank you for the prompt reply! I understand that the Picoblaze essentially uses 4 bits at a time.One for clock, one for SDA, one for tristate control and one for inputting ack signals.So, when I am expecting an ack from the slave, I'll have to set pico_gpio[2] to allow the SDA line to be pulled...
  9. F

    Picoblaze Spartan 3E I2C

    I have to implement 400 KHz I2C on a Spartan 3E , and am considering using the PICOBLAZE controller for the purpose.However, I wanted to ask if there's anything equivalent to the tri state buffer in the PICOBLAZE instruction set.I need something to allow the reception of the acknowledge signal...
  10. F

    Digital Clock Manager Reset

    reg LOCKED_R; reg [3 : 0] SR; always @ (posedge CLKIN) begin if(RESET) begin SR [3 : 0] <= 4'b111; LOCKED_R <=0; end else begin LOCKED_R <= LOCKED; if(LOCKED < LOCKED_R | STATUS [1] ) // H to L on LOCKED | CLKIN UNSTABLE SR <= {1'b1 , SR[3 : 1]}; else SR <= {1'b0 , SR[3 : 1]}...
  11. F

    Digital Clock Manager Reset

    Thank you for your comprehensive answer! I am a beginner and the coding guidelines are really helpful. I should have mentioned that I am using a Spartan 3-E board and it says in the data sheet regarding Spartan 3-E that : This function is not supported in the Spartan-3E family. In the...
  12. F

    Digital Clock Manager Reset

    The input clock is at 50 Mhz and I need the output (clk) at 25 Mhz. DigitalClockManager instance_name ( .CLKIN_IN(CLK_50MHZ), .RST_IN(rst_in), .CLKFX_OUT(clk), .CLKIN_IBUFG_OUT(CLKIN_IBUFG_OUT), .CLK0_OUT(), .LOCKED_OUT(LOCKED) ); BUFG buffer...
  13. F

    FPGA Set Up and Hold Explanation

    It feels like one might be better off using an always @ (*) block to handle external inputs.How does a reg declared in such a block differ from a simple wire? And from what I have understood about Synchronizing registers, they only help control clock to output delay.In that case, why would...
  14. F

    FPGA Set Up and Hold Explanation

    This is code to detect falling pulses from two inputs.As the image attached shows, as soon as v_sync_a goes low or v_sync_b goes low, v_sync_a_falling goes or v_sync_b_falling go high. Now, let's say that the code were run on Hardware, If v_sync_a or v_sync_b fall at the exact same instant as...

Part and Inventory Search

Back
Top