Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Audio Design Solutions for Augmented and Virtual Reality (AR/VR) Glasses

    Recent Discussions

    • Standalone Data logging using ADALM2000
    • About sdr.tx(). Can I change the transmitter frequency after call this function?
    • About the values of CurV1,2 displayed in the cursors frame of scopy.
    • Purpose of "Load" in Scopy signal generator configuration GUI
    • about the transient response experiment example of RL Circuit using adalm2000

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Audio Design Solutions for Augmented and Virtual Reality (AR/VR) Glasses
    • Robust Industrial Motor Encoder Signal Chain Solutions
    • Precision Low Power Measurement Solutions for Intelligent Edge
    • Advantages of Integrating Digital Power System Management (DPSM) into your Design
    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ231 about Birthdays and Cake Candles
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Understanding Public Key Infrastructures

     

    Share Your Insights! How Can We Improve Your Engineering Design Needs?

    Latest Blogs

    • 10BASE-T1L Makes Powering Intelligent Field Instruments Painless
    • Using Python To Control The Pluto Radio And Plot Data
    • Resistance is NOT Futile
    • What is The Continuity of Engineering?
    • Move Over Sensors: Actuators Are Entering The Smart Factory Stage
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
SigmaDSP Processors & SigmaStudio Dev. Tool
  • Processors and DSP
SigmaDSP Processors & SigmaStudio Dev. Tool
Documents Excluding Cells from the Exported System Files
  • Forums
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • +AD193x: FAQ
  • +ADAU1401AEBZ: FAQ
  • +ADAU144x: FAQ
  • +ADAU1452: FAQ
  • +ADAU145x: FAQ
  • +ADAU1701: FAQ
  • +ADAU1701MINIZ- FAQ
  • +ADAU1761: FAQ
  • +ADAU1772: FAQ
  • +ADI: FAQ
  • +AN-951: FAQ
  • +bitwise logic: FAQ
  • +Compressor Table Format: FAQ
  • +Creating a simple balance crossfade control: FAQ
  • +Creating constant-dB envelope decay using an existing linear decay algorithm: FAQ
  • +Crossover with more than 3 bands: FAQ
  • +E2PROM: FAQ
  • +EEPROM: FAQ
  • +EVAL DAU144XEBZ: FAQ
  • +EVAL-ADAU1781Z: FAQ
  • -Excluding Cells from the Exported System Files: FAQ
    • Excluding Cells from the Exported System Files
  • +GPIO button: FAQ
  • +GPIOs or Aux ADCs: FAQ
  • +How do I execute a software safeload write?: FAQ
  • +IIR coefficient filter: FAQ
  • +IIR filter: FAQ
  • +Peak Full Range Compressor: FAQ
  • +Preserving "Ear-candy": FAQ
  • +Push Button Volume: FAQ
  • +self-boot EEPROM image: FAQ
  • +Sigma300 Family Products: FAQ
  • +SigmaDSP: FAQ
  • +SigmaStudio: FAQ
  • +single precision VS double precision: FAQ
  • +Stimulus-Probe Capability and Limitations: FAQ
  • +Stopwatch to Count Successive Samples: FAQ
  • +Toolbox into the schematic tab: FAQ
  • +USB communications between the PC and SigmaDSP: FAQ
  • +Using Hierarchy Boards to create re-usable code: FAQ

Excluding Cells from the Exported System Files

Excluding Cells from the Exported System Files by BrettG

A new feature, which will be available in the SigmaStudio version 3.2 release, allows the user to selectively exclude algorithms from appearing in the exported system files. This can be useful, for example, if only some of the controls in a project need to be controlled by the end user.

For example, in the following project, there are two user-controllable algorithms: a filter and a volume control.

In the exported system files, references to both the filter and the volume control are made.

/*
* File:           C:\Users\bgilders\Desktop\Exclude\Include_IC_1_PARAM.h
*
* Created:        Tuesday, September 07, 2010 10:55:06 AM
* Description:    Include:IC 1 parameter RAM definitions.
*
* This software is distributed in the hope that it will be useful,
* but is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* This software may only be used to program products purchased from
* Analog Devices for incorporation by you into audio products that
* are intended for resale to audio product end users. This software
* may not be distributed whole or in any part to third parties.
*
 * Copyright Copyright 2010 Analog Devices, Inc. All rights reserved.
*/
#ifndef __INCLUDE_IC_1_PARAM_H__
#define __INCLUDE_IC_1_PARAM_H__


/* Module Non Modulo Location Start - Non Modulo Location Start*/
#define MOD_NONMODULOLOCATIONSTART_COUNT               1
#define MOD_NONMODULOLOCATIONSTART_DEVICE              "IC1"
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_ADDR 0
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_FIXPT 0x000001F6
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_VALUE SIGMASTUDIOTYPE_INTEGER_CONVERT(502)
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_TYPE SIGMASTUDIOTYPE_INTEGER

/* Module Filter - Medium Size Eq*/
#define MOD_FILTER_COUNT                               5
#define MOD_FILTER_DEVICE                              "IC1"
#define MOD_FILTER_ALG0_STAGE0_A1_ADDR                 8
#define MOD_FILTER_ALG0_STAGE0_A1_FIXPT                0x00F294EF
#define MOD_FILTER_ALG0_STAGE0_A1_VALUE                SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1.8951700997919)
#define MOD_FILTER_ALG0_STAGE0_A1_TYPE                 SIGMASTUDIOTYPE_FIXPOINT
#define MOD_FILTER_ALG0_STAGE0_A2_ADDR                 9
#define MOD_FILTER_ALG0_STAGE0_A2_FIXPT                0xFF8B5334
#define MOD_FILTER_ALG0_STAGE0_A2_VALUE                SIGMASTUDIOTYPE_FIXPOINT_CONVERT(-0.911523447875689)
#define MOD_FILTER_ALG0_STAGE0_A2_TYPE                 SIGMASTUDIOTYPE_FIXPOINT
#define MOD_FILTER_ALG0_STAGE0_B0_ADDR                 10
#define MOD_FILTER_ALG0_STAGE0_B0_FIXPT                0x00800000
#define MOD_FILTER_ALG0_STAGE0_B0_VALUE                SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_FILTER_ALG0_STAGE0_B0_TYPE                 SIGMASTUDIOTYPE_FIXPOINT
#define MOD_FILTER_ALG0_STAGE0_B1_ADDR                 11
#define MOD_FILTER_ALG0_STAGE0_B1_FIXPT                0xFF0D6B11
#define MOD_FILTER_ALG0_STAGE0_B1_VALUE                SIGMASTUDIOTYPE_FIXPOINT_CONVERT(-1.8951700997919)
#define MOD_FILTER_ALG0_STAGE0_B1_TYPE                 SIGMASTUDIOTYPE_FIXPOINT
#define MOD_FILTER_ALG0_STAGE0_B2_ADDR                 12
#define MOD_FILTER_ALG0_STAGE0_B2_FIXPT                0x0074ACCC
#define MOD_FILTER_ALG0_STAGE0_B2_VALUE                SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.911523447875689)
#define MOD_FILTER_ALG0_STAGE0_B2_TYPE                 SIGMASTUDIOTYPE_FIXPOINT

/* Module Volume - Single Volume Control*/

#define MOD_VOLUME_COUNT                               2
#define MOD_VOLUME_DEVICE                              "IC1"
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_ADDR            13
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_FIXPT           0x00800000
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_VALUE           SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_TYPE            SIGMASTUDIOTYPE_FIXPOINT
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_ADDR            14
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_FIXPT           0x00800000
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_VALUE           SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_TYPE            SIGMASTUDIOTYPE_FIXPOINT

#endif

This allows the system designer to implement controls for both the filter and the volume control in their microcontroller code.

However, if the filter were to be set at a fixed value, requiring no user control, then it can be "excluded" in SigmaStudio by right-clicking it and selecting Exclude from Export Files.

The cell will now have a small orange halo, which indicates that it will not appear in exported system files.

The resulting exported system files include information for the volume control, but make no reference to the filter cell.

/*
* File:           C:\Users\bgilders\Desktop\Exclude\Exclude_IC_1_PARAM.h
*
* Created:        Tuesday, September 07, 2010 10:55:42 AM
* Description:    Exclude:IC 1 parameter RAM definitions.
*
* This software is distributed in the hope that it will be useful,
* but is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* This software may only be used to program products purchased from
* Analog Devices for incorporation by you into audio products that
* are intended for resale to audio product end users. This software
* may not be distributed whole or in any part to third parties.
*
 * Copyright Copyright 2010 Analog Devices, Inc. All rights reserved.
*/
#ifndef __EXCLUDE_IC_1_PARAM_H__
#define __EXCLUDE_IC_1_PARAM_H__


/* Module Non Modulo Location Start - Non Modulo Location Start*/
#define MOD_NONMODULOLOCATIONSTART_COUNT               1
#define MOD_NONMODULOLOCATIONSTART_DEVICE              "IC1"
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_ADDR 0
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_FIXPT 0x000001F6
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_VALUE SIGMASTUDIOTYPE_INTEGER_CONVERT(502)
#define MOD_NONMODULOLOCATIONSTART_NON_MODULO_LOCATION_START_TYPE SIGMASTUDIOTYPE_INTEGER

/* Module Volume - Single Volume Control*/
#define MOD_VOLUME_COUNT                               2
#define MOD_VOLUME_DEVICE                              "IC1"
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_ADDR            13
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_FIXPT           0x00800000
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_VALUE           SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_VOLUME_ALG1_GAIN1940ALGNS2_TYPE            SIGMASTUDIOTYPE_FIXPOINT
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_ADDR            14
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_FIXPT           0x00800000
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_VALUE           SIGMASTUDIOTYPE_FIXPOINT_CONVERT(1)
#define MOD_VOLUME_ALG0_GAIN1940ALGNS1_TYPE            SIGMASTUDIOTYPE_FIXPOINT

#endif

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

Sign Up
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.