OpenCores
URL https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [beta_2.0/] [regressions/] [single_core/] [test1_function_parameters.cp] - Rev 227

Compare with Previous | Blame | View Log

#include "code_block_header.thh"
#define VP_DST_CODE_MEM (1<<31)
#define VP02                2

  scalar SrcOffset = TEST1_FUNCTION_PARAMETERS_OFFSET,DstOffset;
  DstOffset = (0x0 | TEST1_FUNCTION_PARAMETERS_SIZE | VP_DST_CODE_MEM ); 
  copy_data_block < VP02 , DstOffset  ,SrcOffset>;
  
  
  //wait until enqueued block transfers are complete
  while ( block_transfer_in_progress ) {}
  
  start <VP02>; 
  
  exit ;

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.