FPGA, CPLD, and ASIC solutions from Altera
  • Download Center
  • Literature
Sign in/register
myAltera Account
Welcome
  •   myAltera
  •   Logout
  • Products
    • Devices
    • Design Software
    • Intellectual Property
    • Development Kits/Cables
    • Design & Support Services
    • Literature
  • End Markets
    • Automotive
    • Broadcast
    • Computer & Storage
    • Consumer
    • Industrial
    • Medical
    • Military
    • Test & Measurement
    • Wireless
    • Wireline
  • Technology
    • DSP
    • External Memory
    • Embedded Processing
    • Transceivers
    • Parallel I/O
    • Signal Integrity
    • System Integration
  • Training
    • Training Courses
    • University Program
    • Webcasts & Videos
    • Demonstrations
    • Events Calendar
  • Support
    • Design & Support Resources
    • Knowledge Database
    • Devices
    • Design Software
    • Intellectual Property
    • Development Kits/Cables
    • Design Examples
    • Downloads
    • User Communities/Forums
    • mySupport
  • About Altera
    • About Us
    • Environmental
    • Customer Successes
    • Partners
    • Newsroom
    • Investor Relations
    • Jobs
    • Contact Us
  • Buy Online
    • Devices
    • Design Software
    • Development & Education Kits
    • Cables & Programming Hardware
    • Intellectual Property
  • Entire Site
  • Part Number
  • Knowledge Database
  • Support & Technical Docs
  • Forums & Wiki
Username:  
Password:  
 
Forgot my username or password
Don't have myAltera account? Register Now.
Enter your email address:

Linear Feedback Shift Register

Home > Products > Intellectual Property > DSP > Signal Generation > Linear Feedback Shift Register

from Nova Engineering, Inc.

Request Free Evaluation



AMPP Approved
OpenCore Support



 

Features

  • Programmable pattern length
  • Automatic resizing and feedback selection
  • Programmable initial value (IV)
  • Optimized for the Altera APEXTM 20K, FLEX® 10K, and FLEX 8000 device architectures
  • Applications
    • Encryption/decryption
    • Direct sequence spread spectrum
    • Pseudo-random number (PN) generation
    • Scrambler/de-scrambler
    • Built-in self test

Block Diagram

Figure 1 shows the block diagram for the linear feedback shift register megafunction.

Figure 1. Block Diagram
linear feedback shift register megafunction

Description

A linear feedback shift register (LFSR) megafunction is based on linear XOR or XNOR feedback logic in which the initial value of the shift register, shift register taps, and feedback logic determines the output sequence. This scheme allows the user to load the shift register with an initialization sequence. The shift register taps are combined with XOR or XNOR logic and then fed back into the shift register input.

The shift register size (m) is equal to length + 1, where length is an integer between 1 and 31. The shift register produces a sequence of 2 m - 1 bits. For example, a shift register size of 32 produces a shift register sequence of 232 - 1 bits and is specified by setting the length input to 31. The length input is synchronous to the rising edge of the clock. When a clock edge loads the length input, the megafunction will automatically reconfigure the shift register's size.

The load input initializes the contents of the shift register. Whenever load is asserted, the megafunction configures itself to a normal shift register size of 32. The desired initial value will be loaded through the shift_in input using 32 clock cycles. Because the length value is ignored when load is asserted, length can be asserted any time before load de-asserts. The load input can be de-asserted after the 32nd rising clock edge. The next rising edge of the clock would then configure the shift register size and feedback logic and initialize the length sequence.

Device Utilization Example

Table 1 lists the typical device utilization results for the megafunction.

Table 1. Typical Device Utilization for the Megafunction
Device Speed Grade Utilization Performance
(fMAX)
Parameter Setting
Logic Cells EABs Note (1)
EPF10K50V -1 338 0 103 MHz Contact Nova Engineering
EPF6016 -2 318 0 95 MHz Contact Nova Engineering
EPM7128E -7 103 0 113 MHz Contact Nova Engineering

Note:

  1. EABs = Embedded array blocks

Contact Information

For additional information, you can contact contact Nova Engineering, Inc. at:

Nova Engineering, Inc.
5 Circle Freeway Drive
Cincinnati, OH 45246-1105
Tel. 513-860-3456
Fax 513-860-3535
E-mail: info@nova-eng.com
WWW: http://www.nova-eng.com
Rate This Page


  • IP & Reference Designs
    • All Intellectual Property
    • All Reference Designs
    • Bridges & Adapters
      • Memory Mapped
      • Streaming
    • DSP
      • Filters & Transforms
      • Error Detection/Correction
      • Modulation & Demodulation
      • Video & Image Processing
    • Embedded Processors
      • Nios II
        • Processor Cores
          • Fast CPU
          • Economy CPU
          • Standard CPU
        • Benefits
          • Low Cost
          • High Performance
          • Long Life Cycle
          • Flexibility
        • Software Tools
          • Nios II IDE
          • Nios II C2H Compiler
          • Software
        • Development Kits
        • End Markets
        • Customer Successes
        • Literature
      • 32/16-Bit Microprocessors
      • 8/4-Bit Microprocessors
    • Interface Protocols
      • Communications
      • Ethernet
      • High Speed
      • PCI
      • Serial
      • Audio & Video
    • Memory Controllers
      • DMA
      • Flash
      • On-Chip
      • SDRAM
      • SRAM
    • Peripherals
      • Debug & Performance
      • Display
      • Microcontroller Peripherals
      • Multiprocessor Coord.
  • About IP
    • Designing with IP
      • IP Base Suite
    • Evaluate and Download IP
    • IP Certifications
    • System Design
    • Request IP
  • IP Partners
    • About AMPP Program
    • List of IP Partners
    Please give us feedback
    Products | End Markets | Technology | Training | Support | About Altera | Buy Online
    Jobs | Investor Relations | Contact Us | Site Map | Privacy | Legal Notice
    Copyright © 1995-2010 Altera Corporation. All Rights Reserved.
    Altera Forum
    Altera
    Forum
    Twitter
    Twitter
    RSS
    RSS
    Facebook
    Facebook
    Flickr
    Flickr
    YouTube
    YouTube
    Email Updates
    Email
    Updates