#include "isp.h"
#include "vmem.h"
#include "vmem_local.h"
#if !defined(HRT_MEMORY_ACCESS)
#include "ia_css_device_access.h"
#endif
#include "assert_support.h"
hive_uedge;
hive_wide;
static inline hive_uedge
subword(hive_uedge w, unsigned int start, unsigned int end)
{ … }
static inline hive_uedge
inv_subword(hive_uedge w, unsigned int start, unsigned int end)
{ … }
#define uedge_bits …
#define move_lower_bits(target, target_bit, src, src_bit) …
#define move_upper_bits(target, target_bit, src, src_bit) …
#define move_word(target, target_bit, src) …
static void
move_subword(
hive_uedge *target,
unsigned int target_bit,
hive_uedge src,
unsigned int src_start,
unsigned int src_end)
{ … }
static void
hive_sim_wide_unpack(
hive_wide vector,
hive_wide elem,
hive_uint elem_bits,
hive_uint index)
{ … }
static void
hive_sim_wide_pack(
hive_wide vector,
hive_wide elem,
hive_uint elem_bits,
hive_uint index)
{ … }
static void load_vector(
const isp_ID_t ID,
t_vmem_elem *to,
const t_vmem_elem *from)
{ … }
static void store_vector(
const isp_ID_t ID,
t_vmem_elem *to,
const t_vmem_elem *from)
{ … }
void isp_vmem_load(
const isp_ID_t ID,
const t_vmem_elem *from,
t_vmem_elem *to,
unsigned int elems)
{ … }
void isp_vmem_store(
const isp_ID_t ID,
t_vmem_elem *to,
const t_vmem_elem *from,
unsigned int elems)
{ … }
void isp_vmem_2d_load(
const isp_ID_t ID,
const t_vmem_elem *from,
t_vmem_elem *to,
unsigned int height,
unsigned int width,
unsigned int stride_to,
unsigned stride_from )
{ … }
void isp_vmem_2d_store(
const isp_ID_t ID,
t_vmem_elem *to,
const t_vmem_elem *from,
unsigned int height,
unsigned int width,
unsigned int stride_to,
unsigned stride_from )
{ … }