Be the first to rate this file! 109 downloads (last 30 days) File Size: 139.88 KB File ID: #16199

Enhanced and new bitwise operators in R2007b

by Kiran Kintali

 

01 Sep 2007 (Updated 14 Aug 2008)

BSD License  

This demo introduces new bitwise operators available in fixed point toolbox in R2007b

Download Now | Watch this File

File Information
Description

This demo introduces user to the new and enhanced bitwise operators provided in Fixed Point toolbox in R2007b. These functions are supported by Embedded MATLAB block for both software and hardware modeling and code generation (C and HDL).  
 
Also include are some example application models using these bitwise operators  
 
add_with_carry_7b.mdl  
convert_bits_7b.mdl  
nibble_swap_7b.mdl  
bitops_all_7b.mdl

Required Products Fixed-Point Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Published M Files New Bitwise Operator support in Fixed Point Toolbox
Other Files
Bitops_R2007b/bitops_add_with_carry_7b.mdl,
Bitops_R2007b/bitops_all_7b.mdl,
Bitops_R2007b/bitops_convert_bits_7b.mdl,
Bitops_R2007b/bitops_nibble_swap_7b.mdl,
Bitops_R2007b/disp_eml_script.m,
Bitops_R2007b/hdlsrc_all/add_with_carry.v,
Bitops_R2007b/hdlsrc_all/add_with_carry.vhd,
Bitops_R2007b/hdlsrc_all/hdl_bit_ops.v,
Bitops_R2007b/hdlsrc_all/hdl_bit_ops.vhd,
Bitops_R2007b/hdlsrc_all/nibble_swap.v,
Bitops_R2007b/hdlsrc_all/nibble_swap.vhd,
Bitops_R2007b/hdlsrc_all/nibble_swap_simple.v,
Bitops_R2007b/hdlsrc_all/nibble_swap_simple.vhd,
Bitops_R2007b/hdlsrc_ve/DUT.v,
Bitops_R2007b/hdlsrc_ve/DUT_compile.do,
Bitops_R2007b/hdlsrc_ve/DUT_map.txt,
Bitops_R2007b/hdlsrc_ve/DUT_synplify.tcl,
Bitops_R2007b/NewBitops_demo_7b.m,
Bitops_R2007b/hdlsrc_ve/nibble_swap_7b.v,
Bitops_R2007b/hdlsrc_ve/nibble_swap_easy.v,
Bitops_R2007b/hdlsrc_ve/Timing_Controller.v,
Bitops_R2007b/hdlsrc_vh/DUT.vhd,
Bitops_R2007b/hdlsrc_vh/DUT_compile.do,
Bitops_R2007b/hdlsrc_vh/DUT_map.txt,
Bitops_R2007b/hdlsrc_vh/DUT_synplify.tcl,
Bitops_R2007b/hdlsrc_vh/nibble_swap.vhd,
Bitops_R2007b/hdlsrc_vh/nibble_swap_7b.vhd,
Bitops_R2007b/hdlsrc_vh/nibble_swap_easy.vhd,
Bitops_R2007b/hdlsrc_vh/Timing_Controller.vhd,
Bitops_R2007b/QuickNotes_NewBitOpsR2007b.ppt,
Bitops_R2007b/html/NewBitops_demo_7b.png,
Bitops_R2007b/html/NewBitops_demo_7b_01.png,
Bitops_R2007b/hdlsrc_ve/nibble_swap.v
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
05 Sep 2007 Please note that the attachment has following models that use the new functions in an Embedded MATLAB block to model various bit twiddling operations  
 
bitops_add_with_carry_7b  
bitops_convert_bits_7b  
bitops_nibble_swap_7b  
bitops_all_7b
07 Sep 2007 fix fi values in bitshift example
17 Sep 2007 fix release info.
14 Aug 2008 add to eML category
Tag Activity for this File
Tag Applied By Date/Time
embedded matlab Kiran Kintali 22 Oct 2008 09:25:07
bitwise operators Kiran Kintali 22 Oct 2008 09:25:07
hdl Kiran Kintali 22 Oct 2008 09:25:07
embedded matlab Kiran Kintali 22 Oct 2008 09:25:07
sliceconcat Kiran Kintali 22 Oct 2008 09:25:07
nibbleswap Kiran Kintali 22 Oct 2008 09:25:07

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com