Skip to main content

RTL Design Engineer at Skyroot Aerospace

Hello, Dear Readers, Skyroot Aerospace has a vacancy for the RTL Design Engineer role. About Skyroot Aerospace: A cutting-edge startup founded by ex-ISRO scientists. Dedicated to affordable space access, we're rewriting aerospace technology rules. Our dynamic team fosters inventiveness, collaboration, and relentless excellence. Join us on a transformative journey to redefine space possibilities. Welcome to the forefront of space innovation with Skyroot Aerospace! Purpose of role: Understand architectural requirements and Design micro-architecture, implement design blocks using VHDL/Verilog for FPGA based Avionics packages for orbital launch vehicles and ground infrastructure. Job Requirements: 2+ Years of RTL and system design experience. Strong knowledge on Digital System Design (DSD). Strong knowledge of RTL/SoC design/integration with VHDL/Verilog. Strong knowledge in problem solving and debugging skills. Ability to understand architectural requirements and Design micro-archite...

Designing of the 4 Tap FIR Filter Using Verilog HDL

 Hello Dear Readers,

Here I have designed a 4 tap FIR filter using Verilog languages and some parts of the Python language to just print the input and output samples that are generating Verilog HDL.
So Let's see the Code of the complete system.
So first of all FIR filter is a system which transfer function has a finite number of impulsive points corresponding to the type of the filters such as high pass, low pass, bandpass, etc... so it has generally two types of structure as shown in the below,


FIR Filter Structures:



Here I have used the first structure in which first multiply input samples with impulse responses so without delay products is available now we give delays to that data means here we have implemented shifted adder for MAC operation of the digital filter.


Verilog Code:

module fir_4tap(input Clk,input signed [7:0] Xin,output reg signed [15:0] Yout);    
//Internal variables.
wire signed   [7:0] H0,H1,H2,H3;
wire signed   [15:0] MCM_block0,MCM_block1,MCM_block2,MCM_block3,shift_add_out1,shift_add_out2,shift_add_out3,Q1,Q2,Q3;    
//filter coefficient initializations.
//h(n) = [-1 -2 5 -1].
    assign H0 = -1;
    assign H1 = -2;
    assign H2 = 5;
    assign H3 = -1;
//Multiple constant multiplications.
    assign MCM_block3 = H3*Xin;
    assign MCM_block2 = H2*Xin;
    assign MCM_block1 = H1*Xin;
    assign MCM_block0 = H0*Xin;
//adders
    assign shift_add_out1 = Q1 + MCM_block2;
    assign shift_add_out2 = Q2 + MCM_block1;
   assign shift_add_out3 = Q3 + MCM_block0;    
//flipflop instantiations (for introducing a delay).
    DFF dff1 (.Clk(Clk),.D(MCM_block3),.Q(Q1));
    DFF dff2 (.Clk(Clk),.D(shift_add_out1),.Q(Q2));
    DFF dff3 (.Clk(Clk),.D(shift_add_out2),.Q(Q3));
//Assign the last adder output to final output.
    always@ (posedge Clk)
        Yout <= shift_add_out3;
endmodule
module DFF(input Clk,input [15:0] D,output reg [15:0] Q);
    
    always@ (posedge Clk)
        Q = D;
    
endmodule
 

module test_bench;

    // Inputs
    reg Clk;
    reg signed [7:0] Xin ;

    // Outputs
    wire signed [15:0] Yout;
integer outfile1,outfile2;

    // Instantiate the Unit Under Test (UUT)
    fir_4tap uut (
        .Clk(Clk), 
        .Xin(Xin), 
        .Yout(Yout)
    );
    
    //Generate a clock with 10 ns clock period.
    initial Clk = 0;
    always 
#5 Clk =~Clk;
 
//Initialize and apply the inputs.
    initial begin
          Xin =0;  #40;
  outfile1=$fopen("output.txt","w");
           outfile2=$fopen("input.txt","w");
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =0.5; #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =1;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal 
          Xin =1.5;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal 
          Xin =2; #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =1.6; #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =0.8;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =0.5; #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =0;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
          Xin =-0.5;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-1;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-1.2;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-2;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-1.7;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-1.2;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-0.8;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =-0.4;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
Xin =0;  #10;
$fwrite(outfile1,"%d\n",Xin);  //write as decimal
$fwrite(outfile2,"%d\n",Yout);  //write as decimal
$fclose(outfile1);
        $fclose(outfile2);
    end    
endmodule


Simulational Results:



Summary of the Obtained Timing Specification:
Timing Specification:

     1.Minimum period: 3.644ns (Maximum   Frequency: 274.424MHz)

     2. Minimum input arrival time before clock: 9.081ns (Setup Time)

    3. Maximum output required time after clock: 4.040ns (Hold Time)





Comments

  1. Great post you are first person who is this much technically writing blogging keep it up.

    ReplyDelete
  2. what a post brother thanks for posting i have try it and change according to my requirement.

    ReplyDelete
  3. It is in complete level of the data path means RTL Verilog code right? what we do for the gate level code.

    ReplyDelete
    Replies
    1. So you need to design adder and multiplier at gate level and then instant them in your main code where addition and multiplication is required.

      Delete

Post a Comment

Popular posts from this blog

Exploring the Role of LEF Files in VLSI Chip Design: A Beginner's Guide

Hello Dear Readers,   Today in this post, I will provide some deep insight into the LEF file role during the VLSI Chip Design process. In VLSI (Very Large Scale Integration) design, a LEF file is a file that contains information about the physical geometry of the standard cells used in a circuit. LEF stands for Library Exchange Format. A standard cell is a pre-designed logic cell that contains a specific function, such as a flip-flop or an AND gate. Standard cells are designed to be easily combinable and scalable to create more complex circuits. The physical geometry of each standard cell is defined in the LEF file. The LEF file contains information such as the width, height, and position of the pins and metal layers of each standard cell. It also contains information about the physical design rules that govern the placement of these cells on the chip. LEF files are important in VLSI design because they enable the interoperability of different design tools from different vend...

Internship - SoC /IP Design at NXP India

Hello Dear Readers, Currently, at NXP India  vacancy for  Internship - SoC /IP Design   role.   We are looking for a Master degree student with Electronics and Communication Engineering, or related field, with an emphasis on SoC design. This is a full-time internship with a duration of about 11-12 months. Job Responsibility: Working with our experienced design team to design state of the art SoC hardware specific segment applications like Automotive, IoT, voice/object recognition, security, smart connectivity and touch sensing . Assisting experienced engineers with End-to-end ownership of SoC Design, Verification and implementation (Physical Design). Design and verify digital and Mixed-signal IPs. Document designs and present results. Job Qualification: Master student in electronic/computer engineering Creative and positive mindset Good knowledge on CMOS technologies Great communication skills, interpersonal skills, teamwork skills and can-do attitude Desire for a ca...

IC Design Engineer at Broadcom

  Hello Dear Readers, Currently, at Broadcom vacancy for an IC Design Engineer role. Job Description: Candidate would be required to work on various phases of SOC physical design activities. The job will include but not limited to block level – floor-planning, partitioning, placement, clock tree synthesis, route, physical verification (LVS/DRC/ERC/Antenna etc). Should be able to meet congestion, timing and area metrics.  Candidate would be required to do equivalence checks, STA, Crosstalk delay analysis, noise analysis, power optimization. Should be able to implement timing and functional ECOs. Should have excellent problem-solving skill to help through congestion resolution and timing closure. Should have experience formal verification and timing analysis and ECO implementation. Experience with tools such as Innovus/Encounter, ICC, Caliber, LEC, Primetime etc is highly desirable. Candidate should be able to work independently and guide other team members. Should be ...