Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | RE: CCS V2.0 & C6711DSK About the single - cycle instruc tion

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

RE: CCS V2.0 & C6711DSK About the single - cycle instruc tion - Dillon, Tom - Jul 30 16:38:00 2002

RE: [c6x] CCS V2.0 & C6711DSK About the single - cycle instruction

A single cycle instruction takes 1 cycle.  But, there is a pipeline that has an impact on the measurement you made.  You can try an experiment to prove it to yourself.  Add 7 more instructions to the example you give below and then measure the total for the 8 instructions.  My bet is that you will see 13-14 cycles and not (6*8=48cycles).

-----Original Message-----
From: fjulink [mailto:f...@yahoo.com.tw]
Sent: Tuesday, July 30, 2002 9:39 AM
To: c...@yahoogroups.com
Subject: [c6x] CCS V2.0 & C6711DSK About the single - cycle instruction


Hi all:
   
     I use the tool "Enable clock" try to test how much time   the
single -cycle instruction  need,

    EX:
        mvkl  .s2 0x0001,b0

The resule of the view window show  => 6 clocks

  ==>so "mvkl  .s2 0x0001,b0" spend  6*6.7ns = 40.2 ns
       (the c6711 one clock time = 6.7ns)
   
  
     The single -cycle instruction means the instruction will be
execute in one cpu cycle? 
    

      Are there any  mistake  above ?
     
      Please correct me!
 
      Thanks!!                          &n bsp;       Fjulink
 

 



_____________________________________

 




______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: CCS V2.0 & C6711DSK About the single - cycle instruc tion - fjulink - Jul 31 12:18:00 2002


I try to measure 7 instructions. It spend about 13-14 clock

ex:
line1 mvkl .s2 0x0001,b0
mvklh .s2 0xa000,b0
mvk .s1 0x1111,a1
mvklh .s1 0x1111,a1
mvkl .s2 0x0000,b1
mvklh .s2 0x24D3,b1
mvk .s1 0x1111,a1
line8 mvklh .s1 0x1111,a1
line9 ........

I set breakpoint at line9 and put line1 to line7 as range1
line1 to line8 as range2 in my session

the result:

range1
Incl.Count Incl. Total Incl.Max Incl.Min Incl. Average
2 14 14 14 7

Excl.Count Excl. Total Excl.Max Excl.Min Excl. Average
1 13 13 13 13

range2

Incl.Count Incl. Total Incl.Max Incl.Min Incl. Average
1 20 20 20 20
Excl.Count Excl. Total Excl.Max Excl.Min Excl. Average
1 19 19 19 19 What is the different between Incl. ... and Excl. ... above
the result?

why and mean what about the "Incl. Count" =2 ?

Fjulink
--- In c6x@y..., "Dillon, Tom" <tjdillon@t...> wrote:
> A single cycle instruction takes 1 cycle. But, there is a pipeline
that has
> an impact on the measurement you made. You can try an experiment
to prove
> it to yourself. Add 7 more instructions to the example you give
below and
> then measure the total for the 8 instructions. My bet is that you
will see
> 13-14 cycles and not (6*8=48cycles).
>
> -----Original Message-----
> From: fjulink [mailto:fjulink@y...]
> Sent: Tuesday, July 30, 2002 9:39 AM
> To: c6x@y...
> Subject: [c6x] CCS V2.0 & C6711DSK About the single - cycle
instruction > Hi all:
>
> I use the tool "Enable clock" try to test how much time the
> single -cycle instruction need,
>
> EX:
> mvkl .s2 0x0001,b0
>
> The resule of the view window show => 6 clocks
>
> ==>so "mvkl .s2 0x0001,b0" spend 6*6.7ns = 40.2 ns
> (the c6711 one clock time = 6.7ns) > The single -cycle instruction means the instruction will be
> execute in one cpu cycle? > Are there any mistake above ?
>
> Please correct me!
>
> Thanks!! Fjulink >
> _____________________________________



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )